Skip to content

Commit

Permalink
Makes navbar sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanat-Jha authored Jan 15, 2025
1 parent 7be4428 commit 3c27b37
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions resources/css/landingpage.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ body {

#header-background {
z-index: 100;
position: absolute;
position: fixed;
width: 100%;
height: 60px;
left: 0px;
Expand All @@ -106,22 +106,28 @@ body {
backdrop-filter: blur(32px);
}


nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 100;
display: flex;
flex-direction: row;
padding: 0% 0%;
justify-content: space-between;
align-items: center;
height: 60px;
}


#logo1 {
position: absolute;
position: fixed;
left: 60px;
height: 45px;
width: 45px;
top: 9px;
z-index: 101;
}

.main-nav {
Expand Down

0 comments on commit 3c27b37

Please sign in to comment.