Social icon hover animation
How do I make an social icon hover animation?
What is a social icon hover animation? How do you make a social icon hover animation? This script and codes were developed by Brandon Ward on 24 November 2022, Thursday.
Social icon hover animation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Social icon hover animation</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="social-container"> <ul class="social-icons"> <li><a href="#"><i class="fa fa-instagram"></i></a></li> <li><a href="#"><i class="fa fa-twitter"></i></a></li> <li><a href="#"><i class="fa fa-linkedin"></i></a></li> <li><a href="#"><i class="fa fa-codepen"></i></a></li> </ul> <ul class="social-icons"> <li><a href="#" class="social-square"><i class="fa fa-facebook"></i></a></li> <li><a href="#" class="social-square"><i class="fa fa-dribbble"></i></a></li> <li><a href="#" class="social-square"><i class="fa fa-github"></i></a></li> <li><a href="#" class="social-square"><i class="fa fa-stack-overflow"></i></a></li> </ul>
</div>
</body>
</html>
Social icon hover animation - Script Codes CSS Codes
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css);
body { background-color: rgba(255, 0, 60, 0.05);
}
.social-container { width: 400px; margin: 40vh auto; text-align: center;
}
.social-icons { padding: 0; list-style: none; margin: 1em;
}
.social-icons li { display: inline-block; margin: 0.15em; position: relative; font-size: 1.2em;
}
.social-icons i { color: #fff; position: absolute; top: 21px; left: 21px; transition: all 265ms ease-out;
}
.social-icons a { display: inline-block;
}
.social-icons a:before { transform: scale(1); -ms-transform: scale(1); -webkit-transform: scale(1); content: " "; width: 60px; height: 60px; border-radius: 100%; display: block; background: linear-gradient(45deg, #ff003c, #c648c8); transition: all 265ms ease-out;
}
.social-icons a:hover:before { transform: scale(0); transition: all 265ms ease-in;
}
.social-icons a:hover i { transform: scale(2.2); -ms-transform: scale(2.2); -webkit-transform: scale(2.2); color: #ff003c; background: -webkit-linear-gradient(45deg, #ff003c, #c648c8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; transition: all 265ms ease-in;
}
.social-icons a.social-square:before { background: linear-gradient(45deg, #7b00e0, #ae31d9); border-radius: 10%;
}
.social-icons a.social-square:hover:before { transform: rotate(-180deg); -ms-transform: rotate(-180deg); -webkit-transform: scale(-180deg); border-radius: 100%;
}
.social-icons a.social-square:hover i { transform: scale(1.6); -ms-transform: scale(1.6); -webkit-transform: scale(1.6); color: #fff; transform: scale(1.6); -webkit-text-fill-color: #fff;
}
Developer | Brandon Ward |
Username | brandondward |
Uploaded | November 24, 2022 |
Rating | 4.5 |
Size | 2,807 Kb |
Views | 6,072 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Floating background shapes animation | 5,349 Kb |
Social icon hover animation | 2,807 Kb |
A Pen by Brandon Ward | 2,576 Kb |
Flexbox template | 1,989 Kb |
Card stack tutorial animation | 3,815 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Prism | Pyrografix | 2,843 Kb |
SVG Animation | Pollardld | 3,133 Kb |
Wikipedia viewer | Chpecson | 2,865 Kb |
Very Simple Slider | Doodlemarks | 2,682 Kb |
Hover Animation from UNIQLO | Insprd | 3,772 Kb |
Blog | Rottingroom | 1,430 Kb |
Intake Form Page 2 | Ijantje | 4,983 Kb |
Caputre Cam with JS | KimmoCommit | 2,795 Kb |
Multiple jCarousel | Pafnuty | 2,461 Kb |
A Pen by Ben Babics | Benbabics | 2,957 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!