Skip to content

Commit be02a06

Browse files
Alex JamshidiAlex Jamshidi
authored andcommitted
centered footer, added p to end of articles to ensure footer doesn't cover content
1 parent 3e882b0 commit be02a06

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Wireframe/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ <h2>What is a branch in Git?</h2>
3939
</p>
4040
<a href="https://www.w3schools.com/git/git_branch.asp">Read more</a>
4141
</article>
42+
<p></p>
4243
</main>
4344
<footer>
4445
<p>

Wireframe/style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ header {
6060
footer {
6161
position: fixed;
6262
bottom: 0;
63-
text-align: center;
63+
width: 100%;
64+
display: flex;
65+
justify-content: center;
66+
background-color: white;
67+
border: var(--line);
6468
}
6569
/* ====== Articles Grid Layout ====
6670
Setting the rules for how articles are placed in the main element.

0 commit comments

Comments
 (0)