Skip to content

Commit

Permalink
Merge pull request #2 from YoshithaRathnayake/patch-1
Browse files Browse the repository at this point in the history
Add a smooth transition for the nav links
  • Loading branch information
AlizayAyesha authored Jun 8, 2024
2 parents 8bcf394 + 64fbf45 commit c7f6d53
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
box-sizing: border-box;
}

a:hover {
cursor: pointer;
}

nav {
display: flex;
justify-content: space-between;
Expand Down Expand Up @@ -53,13 +49,15 @@ button {
background-color: rgb(77, 208, 160);
color: #fff;
box-shadow: 0 2px 5px 0 rgba(182, 177, 177, 0.1); /* Add a subtle shadow */
transition: 0.5s;
}

button:hover {
color: rgb(50, 144, 50);
background-color: #fff;
box-shadow: 0 4px 8px 0 #e5e1e1; /* Increase shadow depth on hover */
transform: translateY(-2px); /* Add a subtle translate effect on hover */
transition: 0.5s;
cursor: pointer;
}

Expand Down Expand Up @@ -178,8 +176,6 @@ footer input {
margin-bottom: 20px;
margin-top: 0;
background-color: rgba(147, 240, 198, 0.811);


}
footer textarea {
padding: 20px;
Expand Down

0 comments on commit c7f6d53

Please sign in to comment.