Hover icon link over image
How do I make an hover icon link over image?
What is a hover icon link over image? How do you make a hover icon link over image? This script and codes were developed by Kevin on 13 October 2022, Thursday.
Hover icon link over image - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>hover icon link over image</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>
<link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-3 img-partner"><img src="http://placekitten.com/g/300/200"><a href="#"><i class="fa fa-link"></i></a></div> <div class="col-xs-12 col-sm-3 img-partner"><img src="http://placekitten.com/g/300/200"><a href="#"><i class="fa fa-link"></i></a></div> <div class="col-xs-12 col-sm-3 img-partner"><img src="http://placekitten.com/g/300/200"><a href="#"><i class="fa fa-link"></i></a></div> <div class="col-xs-12 col-sm-3 img-partner"><img src="http://placekitten.com/g/300/200"><a href="#"><i class="fa fa-link"></i></a></div> </div> <div class="row"> <div class="col-xs-12 col-sm-3 img-partner"><img src="http://placekitten.com/g/300/200"><a href="#"><i class="fa fa-link"></i></a></div> <div class="col-xs-12 col-sm-3 img-partner"><img src="http://placekitten.com/g/300/200"><a href="#"><i class="fa fa-link"></i></a></div> <div class="col-xs-12 col-sm-3 img-partner"><img src="http://placekitten.com/g/300/200"><a href="#"><i class="fa fa-link"></i></a></div> <div class="col-xs-12 col-sm-3 img-partner"><img src="http://placekitten.com/g/300/200"><a href="#"><i class="fa fa-link"></i></a></div> </div> <div class="row"> <div class="col-xs-12 col-sm-3 img-partner"><img src="http://placekitten.com/g/300/200"><a href="#"><i class="fa fa-link"></i></a></div> <div class="col-xs-12 col-sm-3 img-partner"><img src="http://placekitten.com/g/300/200"><a href="#"><i class="fa fa-link"></i></a></div> <div class="col-xs-12 col-sm-3 img-partner"><img src="http://placekitten.com/g/300/200"><a href="#"><i class="fa fa-link"></i></a></div> <div class="col-xs-12 col-sm-3 img-partner"><img src="http://placekitten.com/g/300/200"><a href="#"><i class="fa fa-link"></i></a></div> </div>
</div> <script src='https://code.jquery.com/jquery-2.2.4.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Hover icon link over image - Script Codes CSS Codes
*,
*::before,
*::after { box-sizing: border-box;
}
img { width: 100%; height: 100%;
}
body { background: #EFEFEF;
}
.img-partner { position: relative; overflow: hidden; text-align: center; background: transparent; padding: 1em;
}
.img-partner * { -webkit-transition: all 0.35s ease-in-out; transition: all 0.35s ease-in-out;
}
.img-partner img { max-width: 100%; vertical-align: top;
}
.img-partner i { position: absolute; top: 50%; left: 50%; border-radius: 50%; font-size: 34px; color: #fff; width: 80px; height: 80px; line-height: 80px; background: #e05206; opacity: .7; box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); -webkit-transform: translate(-50%, -50%) scale(0); transform: translate(-50%, -50%) scale(0); -webkit-transition: all 300ms 0ms cubic-bezier(0.6, -0.28, 0.735, 0.045); transition: all 300ms 0ms cubic-bezier(0.6, -0.28, 0.735, 0.045);
}
.img-partner:hover img,
.img-partner.hover img { opacity: 0.3; -webkit-filter: blur(0.5px); filter: blur(0.5px); background: #e05206;
}
.img-partner:hover i,
.img-partner.hover i { -webkit-transform: translate(-50%, -50%) scale(1); transform: translate(-50%, -50%) scale(1); -webkit-transition: all 300ms 100ms cubic-bezier(0.175, 0.885, 0.32, 1.275); transition: all 300ms 100ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
Hover icon link over image - Script Codes JS Codes
$(".img-partner").mouseleave(function(e) { $(this).removeClass("hover"); e.preventDefault();
});
Developer | Kevin |
Username | gnarfugh |
Uploaded | October 13, 2022 |
Rating | 3 |
Size | 2,915 Kb |
Views | 20,240 |
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 |
Recommended class | 2,640 Kb |
Hamburger | 2,396 Kb |
Small fizzbuzz | 1,412 Kb |
A Pen by kevin | 3,018 Kb |
Vertical rhythm less mixin | 2,318 Kb |
Mess svg logo | 2,249 Kb |
Old calculator | 2,815 Kb |
Image slider | 3,393 Kb |
Highlight table | 90,049 Kb |
Fluid Typography | 2,797 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 |
Find The Penguin | Lelder | 2,212 Kb |
Test | Dviate | 2,668 Kb |
Fellowship of the Ring | Aussieyang | 2,639 Kb |
Week7 replicate | Hwcasis | 1,620 Kb |
Custom Select Element | Agrayson | 3,616 Kb |
React Template | Isac | 1,241 Kb |
Pomodoro Clock | Yas46 | 3,328 Kb |
Donald Trump - The New Yorker | Agbales | 2,502 Kb |
Kut D3 | Jellevrswk | 3,687 Kb |
RAQuote | Naderk007 | 4,412 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!