Skip to content

Commit

Permalink
Merge pull request #35 from girish-07/feat-fixed-navbar
Browse files Browse the repository at this point in the history
Sticky NavBar
  • Loading branch information
PranavBarthwal authored May 11, 2024
2 parents cf36e68 + 045a97c commit 105ae1e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@

<!-- NAVBAR -->

<nav class="navbar navbar-expand-lg bg-* ">
<div class="container-fluid pt-2">

<nav class="navbar navbar-expand-lg fixed-top navbar_background">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img src="./assets/logo_white.png" alt="Bootstrap" width="370">
</a>
Expand Down
9 changes: 8 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,20 @@ body {
display: none;
}

/* NAVBAR STYLING */

.navbar_background{
background-color: rgba(0, 51, 102, 0.7);
}

/* HERO SECTION STYLING */

.highlight {
background: -webkit-linear-gradient(#e4d6fb, #8400ff);
-webkit-background-clip: text;
color: transparent;
}


.auto-typed {
background: -webkit-linear-gradient(#e4d6fb, #8400ff);
-webkit-background-clip: text;
Expand Down

0 comments on commit 105ae1e

Please sign in to comment.