Social Media Icons Animated on Hover

Developer
Size
2,391 Kb
Views
12,144

How do I make an social media icons animated on hover?

What is a social media icons animated on hover? How do you make a social media icons animated on hover? This script and codes were developed by Tyler Moeller on 06 November 2022, Sunday.

Social Media Icons Animated on Hover Previews

Social Media Icons Animated on Hover - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Social Media Icons Animated on Hover</title> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css'>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="icon-wrapper"> <i class="icon fa fa-lg fa-fw fa-twitter-square"></i>
</div>
<div class="icon-wrapper"> <i class="icon fa fa-lg fa-fw fa-github"></i>
</div>
<div class="icon-wrapper"> <i class="icon fa fa-lg fa-fw fa-linkedin-square"></i>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Social Media Icons Animated on Hover - Script Codes CSS Codes

body { background-color: #E0EFF1; font-size: 16px; margin: 0 auto; max-width: 768px; min-width: 280px; padding-top: 70px; text-align: center;
}
.icon-wrapper { display: inline-block; cursor: pointer; width: 8.5em;
}
.icon { font-size: 5em; border-radius: 50%; padding: .4em .2em;
}
.icon:hover { background-color: #FFF; margin-top: -.5em; -webkit-transition: background-color 1s; transition: background-color 1s;
}
@media (max-width: 480px) { .icon { font-size: 4em; } .icon-wrapper { width: 7em; }
}
@media (max-width: 410px) { .icon { font-size: 3.5em; } .icon-wrapper { width: 6.5em; }
}
@media (max-width: 320px) { .icon { font-size: 3em; } .icon-wrapper { width: 5em; }
}
.fa-twitter-square { color: #55acee;
}
.fa-linkedin-square { color: #007bb5;
}
.fa-github { color: #000;
}

Social Media Icons Animated on Hover - Script Codes JS Codes

'use strict';
var animationEnd = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', animation = 'swing';
$('.icon').on('mouseenter', function (e) { return $(e.target).addClass('animated ' + animation);
}).on(animationEnd, function (e) { return $(e.target).removeClass('animated ' + animation);
});
Social Media Icons Animated on Hover - Script Codes
Social Media Icons Animated on Hover - Script Codes
Home Page Home
Developer Tyler Moeller
Username TylerMoeller
Uploaded November 06, 2022
Rating 3
Size 2,391 Kb
Views 12,144
Do you need developer help for Social Media Icons Animated on Hover?

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!

Tyler Moeller (TylerMoeller) Script Codes
Create amazing sales emails with AI!

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!