Skip to content

Commit 6d44f5f

Browse files
Ensured the footer stays at the bottom of viewport
1 parent 478794e commit 6d44f5f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Wireframe/style.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,10 @@ main {
6363
max-width: var(--container);
6464
margin: 0 auto calc(var(--space) * 4) auto;
6565
}
66-
footer,
67-
footer hr {
68-
margin-top: auto;
66+
67+
footer{
6968
text-align: center;
70-
min-width: span 2 ;
69+
max-height: 100vh;
7170
}
7271

7372
/* ====== Articles Grid Layout ====

0 commit comments

Comments
 (0)