Skip to content

Commit 130c42a

Browse files
author
russom
committed
Footer can span the entire viewport.
1 parent f9c6555 commit 130c42a

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Wireframe/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h2>Branch in Git</h2>
4949
</main>
5050
<footer>
5151
<p>
52-
This is the default, provided code and no changes have been made yet.
52+
Russom Gebremeskel Wireframe May 2026
5353
</p>
5454
</footer>
5555
</body>

Wireframe/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ footer {
6161
position: fixed;
6262
bottom: 0;
6363
text-align: center;
64+
width: 100%; /* Make the footer span the entire width of the viewport */
65+
background: var(--paper); /* Optional: Add a background color to the footer */
66+
67+
68+
6469
}
6570
/* ====== Articles Grid Layout ====
6671
Setting the rules for how articles are placed in the main element.
@@ -93,5 +98,6 @@ article {
9398
}
9499
> img {
95100
grid-column: span 3;
101+
96102
}
97103
}

0 commit comments

Comments
 (0)