Skip to content

Commit 06e59de

Browse files
committed
added and styled the footer
1 parent 6412a2e commit 06e59de

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

assets/css/styles.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,31 @@ header nav li {
221221
font-size: 18px;
222222
color: #555;
223223
flex: 1;
224+
}
225+
226+
/* Footer Section */
227+
228+
footer {
229+
display: flex;
230+
align-items: center;
231+
justify-content: space-around;
232+
background-color: #7d3faf;
233+
color: #fff;
234+
padding: 20px 0;
235+
}
236+
237+
footer ul {
238+
display: flex;
239+
}
240+
241+
footer ul li {
242+
margin-left: 16px;
243+
}
244+
245+
footer p {
246+
text-transform: uppercase;
247+
font-size: 14px;
248+
opacity: 0.6;
249+
align-self: center;
250+
padding: 5px;
224251
}

index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,15 @@ <h3 class="title">Learn More</h3>
112112
</form>
113113
</section>
114114

115+
<footer>
116+
<p>Images courtesy of <a href="http://unsplash.com">unsplash</a>.</p>
117+
<p>Why are you even reading this? There's never anything interesting in the footer!</p>
118+
<ul>
119+
<li><a href="#"><i class="fa fa-twitter-square fa-2x"></i></a></li>
120+
<li><a href="#"><i class="fa fa-facebook-square fa-2x"></i></a></li>
121+
<li><a href="#"><i class="fa fa-snapchat-square fa-2x"></i></a></li>
122+
</ul>
123+
</footer>
124+
115125
</body>
116126
</html>

0 commit comments

Comments
 (0)