Designing The Awesome Footer Part Of Website using HTML and CSS.|||
HTML FILE COPY
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Footer</title>
</head>
<body>
<section id="footer">
<div class="links">
<h1>Links</h1>
<a href="#">Home</a>
<a href="#">Services</a>
<a href="#">Videos</a>
<a href="#">Projets</a>
<a href="#">Cobtact</a>
<a href="#">Terms And Condition</a>
<a href="#">Privacy Policy</a>
</div>
<div class="contact">
<div class="email"><h1>E-mail:</h1><a href="mailto:example@gmail.com">example@gmail.com</a></div>
<div class="phone"><h1>Phone Number:</h1><a href="callto:+919800000000">9800000000</a></div>
</div>
<div class="social-media">
<h1>Social Media Links</h1>
<div class="sm">
<a href="#" class="facebook"><i class="fa fa-facebook"></i></a>
<a href="#" class="youtube"><i class="fa fa-youtube"></i></a>
<a href="#" class="twitter"><i class="fa fa-twitter"></i></a>
<a href="#" class="instagram"><i class="fa fa-instagram"></i></a>
<a href="#" class="whatsapp"><i class="fa fa-whatsapp"></i></a>
</div>
</div>
<div class="text">
<h2>© from technicalvandar.com 2017/2018</h2>
</div>
</section>
</body>
</html>
Copy CSS FILE
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
#footer{
background-color: black;
color: white;
height: 450px;
margin-top: 270px;
}
.links{
position: absolute;
margin-left: 200px;
margin-top: 45px;
}
.links a{
margin: 16px;
text-decoration: none;
font-size: 20px;
display: list-item;
color: white;
}
.links a:hover{
color: green;
}
.contact{
font-size: 20px;
margin-top: 100px;
margin-left: 550px;
position: absolute;
}
.email a{
font-size: 25px;
text-decoration: none;
color: red;
}
.email a:hover{
color: aqua;
}
.phone a{
font-size: 25px;
text-decoration: none;
color: red;
}
.phone a:hover{
color: aqua;
}
.social-media{
margin-top: 100px;
position: absolute;
margin-left: 950px;
}
.sm a{
margin: 16px;
margin-top: 15px;
font-size: 20px;
color: white;
}
.sm{
margin-top: 20px;
}
.sm a:hover{
color: aqua;
}
.text{
position: absolute;
margin-top: 400px;
margin-left: 450px;
}
Comments
Post a Comment