Skip to content

Commit

Permalink
Merge pull request #686 from Son7c/main
Browse files Browse the repository at this point in the history
Hovering effect enhanced
  • Loading branch information
PriyaGhosal authored Oct 15, 2024
2 parents 3de670a + b11e1bb commit d4cd7a2
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,23 @@ p {

button {
padding: 2rem 6rem;
background: #4c6e97;
background: rgba(255,255,255,0.15);
border: none;
color: white;
font-size: 1.8rem;
cursor: pointer;
transition: background 0.6s ease-in-out;
transition: all 0.4s ease;
}
#btn:hover {
background-color: rgb(1, 20, 27);
box-shadow: 0 0 10px lightblue, 0 0 20px lightblue;
background-color: rgba(255,255,255,0.5);
transform: scale(0.95);
}
#btn:hover a{
color: black;
font-weight: 600;
}
a{
transition: all 0.4s ease;
}
/**** MAIN PAGE ****/
/* Header Styles */
Expand Down Expand Up @@ -329,12 +336,12 @@ nav {
border-radius: 1rem;

padding: 1.5rem 4rem;
background: #4c6e97;
background: rgba(255,255,255,0.15);
border: none;
color: white;
font-size: 1.8rem;
cursor: pointer;
transition: background 0.6s ease-in-out;
transition: all 0.4s ease;

}

Expand Down

0 comments on commit d4cd7a2

Please sign in to comment.