Skip to content

Commit 5e465cf

Browse files
footer is fixed to the bottom of the viewport
1 parent aec4443 commit 5e465cf

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Wireframe/style.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
:root {
99
--grey-dark: #292b2c;
1010
--grey-light: #e4e4e4;
11+
--white: #fff;
1112
}
1213

1314
body {
@@ -46,6 +47,13 @@ p {
4647
}
4748

4849

50+
/* Main */
51+
52+
.main {
53+
margin-bottom: 3rem;
54+
}
55+
56+
4957
/* Session */
5058

5159
.content {
@@ -101,9 +109,13 @@ p {
101109
/* Footer */
102110

103111
.footer {
112+
background-color: var(--white);
104113
border-top: 2px solid var(--grey-dark);
105114
text-align: center;
106115
font-size: 0.85rem;
116+
position: fixed;
117+
bottom: 0;
118+
min-width: 100%;
107119
}
108120

109121

0 commit comments

Comments
 (0)