Skip to content

Commit 616004d

Browse files
authored
Update style.css
Signed-off-by: Absalom711 <willemabsa@gmail.com>
1 parent f656da1 commit 616004d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ body {
1818
justify-content: center;
1919
background: #111;
2020
padding: 15px 0;
21-
position: sticky;
21+
position: sticky; /* keeps navbar at top */
2222
top: 0;
23-
z-index: 1000;
23+
z-index: 10000; /* higher than all other elements */
2424
}
2525
.navbar ul {
2626
list-style: none;

0 commit comments

Comments
 (0)