Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions Responsive-Footer/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Footer 2</title>
<link rel="stylesheet" href="./Footer2.css" />
<script src="https://kit.fontawesome.com/66aa7c98b3.js" crossorigin="anonymous"></script>
<link href="style.css" rel="stylesheet">
</head>

<body>
<div class="footer">
<div class="heading">
<h2>Footer</h2>
</div>
<div class="content">
<div class="services">
<h4>Services</h4>
<p><a href="#">App developmen</a></p>
<p><a href="#">Web development</a></p>
<p><a href="#">DevOps</a></p>
<p><a href="#">Web designing</a></p>
</div>
<div class="social-media">
<h4>Social</h4>
<p>
<a href="https://www.linkedin.com/in/hackerboyalex/"><i class="fab fa-linkedin"></i> Linkedin</a>
</p>
<p>
<a href="https://twitter.com/hackerboyalex"><i class="fab fa-twitter"></i> Twitter</a>
</p>
<p>
<a href="https://github.com/hackerboyalex/"><i class="fab fa-github"></i> Github</a>
</p>
<p>
<a href="https://codepen.io/hackerboyalex"><i class="fab fa-codepen"></i> Codepen</a>
</p>
<p>
<a href="https://www.instagram.com/hackerboyalex/"><i class="fab fa-instagram"></i> Instagram</a>
</p>
</div>
<div class="links">
<h4>Quick links</h4>
<p><a href="#">Home</a></p>
<p><a href="#">About</a></p>
<p><a href="#">Blogs</a></p>
<p><a href="#">Contact</a></p>
</div>
<div class="details">
<h4 class="address">Address</h4>
<p>
Lorem ipsum dolor sit amet consectetur <br />
adipisicing elit. Cupiditate, qui!
</p>
<h4 class="mobile">Mobile</h4>
<p><a href="#">+91234567891</a></p>
<h4 class="mail">Email</h4>
<p><a href="#">hackerboyalex.ig@gmail.com</a></p>
</div>
</div>
<footer>
<hr />
&copy; hackerboyalex
</footer>
</div>
</body>

</html>
80 changes: 80 additions & 0 deletions Responsive-Footer/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

.footer {
position: fixed;
width: 100%;
bottom: 0;
left: 0;
}

.footer .heading {
max-width: 1010px;
width: 90%;
text-transform: uppercase;
margin: 0 auto;
margin-bottom: 3rem;
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.footer .content {
display: flex;
justify-content: space-evenly;
margin: 1.5rem;
}

.footer .content p {
margin-bottom: 1.3rem;
color: rgba(0, 0, 0, 0.829);
}

.footer .content a {
text-decoration: none;
color: rgb(0, 0, 0, 0.829);
}

.footer .content a:hover {
border-bottom: 1px solid rgba(0, 0, 0, 0.829);
}

.footer .content h4 {
margin-bottom: 1.3rem;
font-size: 19px;
}

footer {
text-align: center;
margin-bottom: 2rem;
}

footer hr {
margin: 2rem 0;
}

@media (max-width: 767px) {
.footer .content {
display: flex;
flex-direction: column;
font-size: 14px;
}

.footer {
position: unset;
}
}

@media (min-width: 768px) and (max-width: 1024px) {
.footer .content,
.footer {
font-size: 14px;
}
}

@media (orientation: landscape) and (max-height: 500px) {
.footer {
position: unset;
}
}