Skip to content

Commit f896414

Browse files
footer done
1 parent 8d1cf17 commit f896414

File tree

2 files changed

+77
-8
lines changed

2 files changed

+77
-8
lines changed

design 3/index.html

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,23 @@ <h3>Ticket booking</h3>
175175
</div>
176176
</div>
177177
</section>
178-
179-
180178
</main>
179+
180+
<footer>
181+
<!-- contact-->
182+
<div class="footer-contact">
183+
<h2>CONTACT</h2>
184+
<form action="">
185+
<input type="email" placeholder="your email" />
186+
<input type="text" placeholder="subject" />
187+
<textarea name="" id="" cols="30" rows="7" placeholder="your message"></textarea>
188+
<input type="submit" value="submit" />
189+
</form>
190+
</div>
191+
<!-- copyright -->
192+
<div class="downfooter">
193+
<p>copyright © for vibracode.com 2022</p>
194+
</div>
195+
</footer>
181196
</body>
182197
</html>

design 3/styles.css

Lines changed: 60 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ button {
135135

136136
/* services */
137137

138-
section .services-header{
138+
section .services-header {
139139
text-align: center;
140140
height: 100px;
141141
line-height: 100px;
@@ -160,7 +160,7 @@ section .services-header{
160160
border-radius: 5px;
161161
box-shadow: 0px 0px 5px rgb(223, 223, 223);
162162
}
163-
.services div:hover{
163+
.services div:hover {
164164
box-shadow: 0px 0px 10px rgb(212, 212, 212);
165165
transition: 0.3s;
166166
}
@@ -186,28 +186,82 @@ section .services-header{
186186

187187
/* projects */
188188

189-
section .projects-text{
189+
section .projects-text {
190190
height: 100px;
191191
line-height: 200px;
192192
text-align: center;
193193
}
194-
section .projects{
194+
section .projects {
195195
display: flex;
196196
justify-content: center;
197197
align-items: center;
198198
height: calc(100vh - 100px);
199199
color: rgb(73, 73, 73);
200200
}
201-
section .projects div{
201+
section .projects div {
202202
width: 300px;
203203
height: 500px;
204204
text-align: center;
205205
margin-left: 50px;
206206
padding: 50px 0;
207207
}
208-
section .projects img{
208+
section .projects img {
209209
width: 200px;
210210
height: 200px;
211211
border-radius: 50%;
212212
margin-bottom: 20px;
213213
}
214+
215+
/* footer */
216+
217+
footer {
218+
width: 100%;
219+
background-color: rgb(241, 241, 241);
220+
}
221+
.footer-contact {
222+
text-align: center;
223+
width: 40%;
224+
margin: auto;
225+
padding: 20px 40px;
226+
227+
margin-bottom: 0;
228+
}
229+
.footer-contact input {
230+
display: block;
231+
width: 100%;
232+
margin: 10px;
233+
padding: 5px;
234+
border: 0;
235+
}
236+
.footer-contact input[type="submit"] {
237+
background-color: white;
238+
color: black;
239+
padding: 10px;
240+
display: inline-block;
241+
width: 50%;
242+
border: 2px solid rgb(189, 189, 189);
243+
}
244+
.footer-contact input[type="submit"]:hover {
245+
background-color: #d11414;
246+
color: white;
247+
border: 2px solid #d11414;
248+
cursor: pointer;
249+
transition: 0.3s;
250+
}
251+
.footer-contact textarea {
252+
display: block;
253+
width: 100%;
254+
border: 0;
255+
margin: 10px;
256+
}
257+
258+
footer .downfooter{
259+
width: 100%;
260+
background-color: #d11414;
261+
height: 50px;
262+
}
263+
footer .downfooter p{
264+
color: white;
265+
line-height: 50px;
266+
text-align: center;
267+
}

0 commit comments

Comments
 (0)