Amazing Hover Effect
How do I make an amazing hover effect?
What is a amazing hover effect? How do you make a amazing hover effect? This script and codes were developed by Hemant Aggarwal on 09 January 2023, Monday.
Amazing Hover Effect - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Amazing Hover Effect</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="post-comments">
<a href="http://mstoic.com" rel="nofollow">Mstoic.com</a>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Amazing Hover Effect - Script Codes CSS Codes
.roll-link { text-decoration:none;
color: #e93a30; font-size:18px; font-family:Calibri;
display: inline-block;
overflow: hidden;
vertical-align: top;
-webkit-perspective: 600px;
-moz-perspective: 600px;
-ms-perspective: 600px;
perspective: 600px;
-webkit-perspective-origin: 50% 50%;
-moz-perspective-origin: 50% 50%;
-ms-perspective-origin: 50% 50%;
perspective-origin: 50% 50%;
}
.roll-link span {
display: block;
position: relative;
padding: 0 2px;
-webkit-transition: all 400ms ease;
-moz-transition: all 400ms ease;
-ms-transition: all 400ms ease;
transition: all 400ms ease;
-webkit-transform-origin: 50% 0%;
-moz-transform-origin: 50% 0%;
-ms-transform-origin: 50% 0%;
transform-origin: 50% 0%;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.roll-link:hover {
text-decoration: none;
}
.roll-link:hover span {
background: #e93a30;
-webkit-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
-moz-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
-ms-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
}
.roll-link span:after {
content: attr(data-title);
display: block;
position: absolute;
left: 0;
top: 0;
padding: 0 2px;
color: #fff;
background: #e93a30;
-webkit-transform-origin: 50% 0%;
-moz-transform-origin: 50% 0%;
-ms-transform-origin: 50% 0%;
transform-origin: 50% 0%;
-webkit-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
-moz-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
-ms-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
}
Amazing Hover Effect - Script Codes JS Codes
$('a').each(function()
{ $(this).addClass('roll-link'); $(this).wrapInner("<span></span>"); $(this).children('span').attr("data-title", $(this).children('span').html()); });
Developer | Hemant Aggarwal |
Username | mstoic |
Uploaded | January 09, 2023 |
Rating | 3 |
Size | 2,091 Kb |
Views | 8,096 |
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 |
Simple Slider Images | 3,348 Kb |
Social Share Count With JS | 2,515 Kb |
Working Ticker | 2,051 Kb |
Navigation for Touch | 2,305 Kb |
Divider Shadow | 1,500 Kb |
Amazing White Border Below Link | 1,867 Kb |
Material Visiting Card Back | 4,053 Kb |
A Pen by Hemant Aggarwal | 3,716 Kb |
Theme HTML OLD | 6,722 Kb |
Images For ThemeForest - Envato | 7,100 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 |
DevCamp 2014 - Denver Public Library | See8ch | 5,033 Kb |
Greyscale image with filter in CSS3 | NickyCDK | 1,562 Kb |
Sidebar Thing | Jonambas | 2,779 Kb |
NT Tribute | Skybutterfly | 2,850 Kb |
Navier Stoke Fluid Simulation | Esimov | 8,584 Kb |
A Pen by John Malc | F789gh | 1,420 Kb |
Email Marketing Mock | Kristenzirkler | 8,224 Kb |
JS Beispiel getElementsByClassName 3 | HSZG-Frontend-Kurs | 1,988 Kb |
Collapsing Widget | Er40 | 4,279 Kb |
Simple Accordion | Wearebold | 3,683 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!