Hover icon link over image

Developer
Size
2,915 Kb
Views
20,240

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 Previews

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();
});
Hover icon link over image - Script Codes
Hover icon link over image - Script Codes
Home Page Home
Developer Kevin
Username gnarfugh
Uploaded October 13, 2022
Rating 3
Size 2,915 Kb
Views 20,240
Do you need developer help for Hover icon link over image?

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!

Kevin (gnarfugh) Script Codes
Create amazing captions 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!