Skip to content

Commit 2ee991b

Browse files
authored
Update index.html
1 parent 3b41a6f commit 2ee991b

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
66
<meta http-equiv="x-ua-compatible" content="ie=edge" />
77
<title>Bo Li Profolio</title>
8+
<style>
9+
.navbar {
10+
position: fixed;
11+
top: 0;
12+
width: 100%;
13+
z-index: 1000; /* Ensures it stays on top of other elements */
14+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
15+
}
16+
body {
17+
padding-top: 70px; /* Adjust based on the height of your navbar */
18+
}
19+
</style>
820
<!-- Font Awesome -->
921
<link
1022
rel="stylesheet"

0 commit comments

Comments
 (0)