Skip to content

Commit e168dfb

Browse files
Fix footer to meet assignment requirement
1 parent edbcf7c commit e168dfb

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

Wireframe/style.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,20 @@ svg {
4949
Setting the overall rules for page regions
5050
https://www.w3.org/WAI/tutorials/page-structure/regions/
5151
*/
52+
5253
main {
5354
max-width: var(--container);
5455
margin: 0 auto calc(var(--space) * 4) auto;
55-
padding-bottom: 60px;
56+
padding-bottom: calc(var(--space) * 6);
5657
}
5758

5859
footer {
60+
position: fixed;
61+
bottom: 0;
62+
width: 100%;
5963
text-align: center;
60-
margin-top: var(--space);
64+
padding: var(--space);
65+
background: var(--paper);
6166
}
6267

6368
/* ====== Articles Grid Layout ====

0 commit comments

Comments
 (0)