Skip to content

Commit

Permalink
Merge pull request #127 from SaumyaSubham/main
Browse files Browse the repository at this point in the history
Added hover effect on footer
  • Loading branch information
Gyanthakur authored Oct 3, 2024
2 parents f3c57e7 + 7a98ae3 commit 49ea4f4
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ footer {
display: inline-block;
transition: 0.5s;
}

.social-icon__link:hover {
transform: translateY(-10px);
}
Expand All @@ -396,8 +397,19 @@ footer {
color: #fff;
margin: 0 10px;
display: inline-block;
transition: 0.5s;
padding: 8px 15px; /* Adds padding to make room for the box effect */
transition: 0.3s;
text-decoration: none;
opacity: 0.75;
font-weight: 300;
border-radius: 5px; /* Rounded corners for the box */
}

/* Add hover effect to menu links */
.menu__link:hover {
background-color: #fff; /* Adds the translucent box effect */
color: #e35205; /* Keeps text color orange */
opacity: 1; /* Fully opaque on hover */
transform: translateY(-3px); /* Slight upward movement */
border-radius: 8px; /* Slightly more rounded corners */
}

0 comments on commit 49ea4f4

Please sign in to comment.