-
Notifications
You must be signed in to change notification settings - Fork 144
/
contactus.html
185 lines (158 loc) · 6.02 KB
/
contactus.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="img/logo1.png" type="image/png">
<meta name="author" content="CodeHim">
<link rel="icon" href="img/logo1.png" type="image/png">
<title>Contact Us Page</title>
<link rel="stylesheet" href="contactus.css">
<link rel="stylesheet" href="./css/demo.css">
<script src="https://kit.fontawesome.com/c32adfdcda.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
.circle {
height: 18px;
width: 18px;
border-radius: 24px;
background-color: #ff0000;
position: absolute;
top: 0;
left: 0;
z-index: 1000; /* Ensure the trail is above everything */
pointer-events: none; /* Prevent the circles from interfering with mouse events */
}
</style>
</head>
<body>
<!-- 20 circle elements -->
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<button class="back-button" onclick="window.location.href='index.html'"><img src="img/back_button.png" width="60px" height="60px"/></button>
<header class="cd__intro">
<div class="cd__action">
<a href="https://www.codehim.com/html5-css3/contact-us-page-design-in-html-cod" class="cd__btn back"></a>
</div>
</header>
<main class="cd__main">
<section>
<div class="section-header">
<div class="container">
<h2>Contact Us</h2>
<p>
At Car Rental Service we are here to assist you with all your car rental needs. Whether you have questions about our services, need help with a reservation, or want to provide feedback, our team is ready to help. Reach out to us via phone, email, or by filling out the contact form below. We look forward to hearing from you and ensuring your car rental experience is smooth and enjoyable.
Feel free to customize it further to better fit your specific needs!
</p>
</div>
</div>
<div class="container">
<div class="row">
<div class="contact-info">
<div class="contact-info-item">
<div class="contact-info-icon">
<i class="fas fa-home"></i>
</div>
<div class="contact-info-content">
<h4>Address</h4>
<p> <br/></p>
</div>
</div>
<div class="contact-info-item">
<div class="contact-info-icon">
<i class="fas fa-phone"></i>
</div>
<div class="contact-info-content">
<h4>Phone</h4>
<p></p>
</div>
</div>
<div class="contact-info-item">
<div class="contact-info-icon">
<i class="fas fa-envelope"></i>
</div>
<div class="contact-info-content">
<h4>Email</h4>
<p></p>
</div>
</div>
</div>
<div class="contact-form">
<form action="" id="contact-form">
<h2>Send Message</h2>
<div class="input-box">
<input type="text" required="true" name="">
<span>Full Name</span>
</div>
<div class="input-box">
<input type="email" required="true" name="">
<span>Email</span>
</div>
<div class="input-box">
<textarea required="true" name=""></textarea>
<span>Type your Message...</span>
</div>
<div class="input-box">
<input type="submit" value="Send" name="">
</div>
</form>
</div>
</div>
</div>
</section>
</main>
<script src="./js/contactus.js"></script>
<script>
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
// Assign initial positions to the circles
circles.forEach(function (circle) {
circle.x = 0;
circle.y = 0;
});
window.addEventListener("mousemove", function (e) {
// Use pageX and pageY to account for scroll distance
coords.x = e.pageX;
coords.y = e.pageY;
});
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.style.left = x - 12 + "px";
circle.style.top = y - 12 + "px";
circle.style.scale = (circles.length - index) / circles.length;
circle.x = x;
circle.y = y;
const nextCircle = circles[index + 1] || circles[0];
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
</script>
</body>
</html>