Skip to content

Commit 7e46474

Browse files
Fix footer position to viewport
1 parent cc67c48 commit 7e46474

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Wireframe/style.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,13 @@ main {
5757
margin: 0 auto calc(var(--space) * 4) auto;
5858
}
5959
footer {
60-
display: flex;
61-
justify-content: center; /* Centers horizontally */
60+
position: fixed;
61+
bottom: 0;
62+
left: 0;
63+
width: 100%;
6264
align-items: center;
65+
text-align: center;
66+
background-color: aqua;
6367
}
6468
/* ====== Articles Grid Layout ====
6569
Setting the rules for how articles are placed in the main element.

0 commit comments

Comments
 (0)