-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
105 lines (89 loc) · 2.29 KB
/
contact.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Contact Me</title>
<!-- <link rel="stylesheet" href="styles.css" /> -->
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.contact-container {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
width: 400px;
}
.contact-container h1 {
text-align: center;
color: #333;
}
.contact-info {
margin-bottom: 20px;
}
.contact-info p {
margin: 8px 0;
}
.contact-info span {
font-weight: bold;
}
form {
display: flex;
flex-direction: column;
}
label {
margin-top: 10px;
font-weight: bold;
}
input[type="text"],
input[type="email"],
textarea {
padding: 8px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
}
textarea {
resize: vertical;
}
button[type="submit"] {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 4px;
margin-top: 10px;
}
button[type="submit"]:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="contact-container">
<h1>Contact Me</h1>
<div class="contact-info">
<p><span>Email:</span> yethishwarmadavaram@gmail.com 📧</p>
<p><span>Phone:</span> +91 9381676864 ☎️</p>
</div>
<form action="#" method="POST">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required />
<label for="email">Email:</label>
<input type="email" id="email" name="email" required />
<label for="message">Message:</label>
<textarea id="message" name="message" rows="4" required></textarea>
<button type="submit">Send</button>
</form>
</div>
</body>
</html>