Skip to content

Commit

Permalink
corrected the bug of navbar logo hovering effect
Browse files Browse the repository at this point in the history
  • Loading branch information
shivnandk committed Jul 6, 2024
1 parent b05c72a commit 874586a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,26 @@
}
}

/* CSS for the logo hover effect */
.logo-size {
transition: transform 0.3s ease-in-out;
}

.logo-size:hover {
transform: scale(1.1); /* Adjust the scale value as needed */
}

/* Ensuring the logo stays within the navbar */
.header {
overflow: hidden;
}

/* Adding margin to the text adjacent to the logo */
#logo .mission-1, #logo .mission-2 {
margin-left: 20px; /* Adjust the margin as needed */
margin-right: 20px; /* Adjust the margin as needed */
}

/* Add this CSS code to hide the About content initially */
#about .fade-in {
opacity: 0;
Expand Down

0 comments on commit 874586a

Please sign in to comment.