Skip to content

Commit

Permalink
added Hover feature to social icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Shekhar-Raj committed Oct 7, 2024
1 parent bd50257 commit 7becdb6
Showing 1 changed file with 46 additions and 4 deletions.
50 changes: 46 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -458,16 +458,58 @@ button:hover img {
margin-right: 10px;
text-align: center;
line-height: 40px;
border-radius: 50%;
border-radius:50%;
color: #d3d3d3;
transition: all .3s;
}

.socials a:hover {
background: #4CAF50;
color: white;
.socials .fa-facebook {
/* Add the transition effect */
transition: transform 0.3s ease!important;
}

.socials a:hover .fa-facebook {
color: #1877F2 !important;
transform: scale(1.3) !important;
}


/* for instagram */

.socials .fa-instagram {
/* Add the transition effect */
transition: transform 0.3s ease!important;
}

.socials a:hover .fa-instagram{
color: #C13584 !important;
transform: scale(1.3) !important;;
}

/* for twitter */

.socials .fa-twitter {
/* Add the transition effect */
transition: transform 0.3s ease!important;
}

.socials a:hover .fa-twitter {
color: #1DA1F2 !important;
transform: scale(1.3) !important;;
}

/* for youtube */
.socials .fa-youtube {
/* Add the transition effect */
transition: transform 0.3s ease!important;
}

.socials a:hover .fa-youtube {
color: #FF0000 !important;
transform: scale(1.3) !important;;
}


.links ul {
list-style-type: none;
padding: 0;
Expand Down

0 comments on commit 7becdb6

Please sign in to comment.