Image Hover Zoom Effect
How do I make an image hover zoom effect?
What is a image hover zoom effect? How do you make a image hover zoom effect? This script and codes were developed by Deyan Dimitrov on 13 November 2022, Sunday.
Image Hover Zoom Effect - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Image Hover Zoom Effect</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>Image Text Hover Effect</h1>
<ul> <li> <a href="#"><span class="fade-caption">YO!</span></a> <img src="https://static.pexels.com/photos/1106/sea-sky-beach-holiday.jpg" /> </li> <li> <a href="#"><span>YO!</span></a> <img src="http://progressive-retail.com/files/projects/fix_mix.jpg" /> </li> <li> <a href="#"><span>YO!</span></a> <img src="https://static.pexels.com/photos/518/snow-sea-mountains-clouds.jpg" /> </li> <li> <a href="#"><span>YO!</span></a> <img src="http://www.fun92.org/wallpapers/wp-content/uploads/Nature-Wallpapers-Free-Download.jpg" /> </li>
</ul>
</body>
</html>
Image Hover Zoom Effect - Script Codes CSS Codes
body {
margin: 25px auto;
background:#f8f8f8;
text-align:center; font-family: sans-serif;
}
h1 {
color:#375757;
}
ul{ text-align:center;
}
li {
display: inline-block;
position: relative;
margin:5px;
list-style-type: none;
}
a {
display: block;
position: absolute;
width: 100%;
height: 98%;
background: #333;
opacity: 0;
font: 300 36px helvetica, sans-serif; color: #fff;
text-decoration: none;
-webkit-transition: all .3s;
transition: all .3s;
}
a:hover {
opacity: 0.7;
}
span {
display:block; padding:80px 0 0;
line-height: 1;
text-align:center;
}
li { cursor: pointer; height: 200px; float: left; margin: 5px; position: relative; overflow: hidden; width: 300px;
}
li img { position: absolute; left: 0; -webkit-transition: all 300ms ease-out; -moz-transition: all 300ms ease-out; -o-transition: all 300ms ease-out; -ms-transition: all 300ms ease-out; transition: all 300ms ease-out;
} li:hover img { -moz-transform: scale(1.4); -o-transform: scale(1.4); -webkit-transform: scale(1.4); transform: scale(1.4);
}
img {
width:300px;
height:200px;
}
li span{ opacity: 0; width: 170px; height: 170px; text-align: left; padding: 15px;
}
li:hover span { opacity: 1;
}
Developer | Deyan Dimitrov |
Username | deyand |
Uploaded | November 13, 2022 |
Rating | 3 |
Size | 2,052 Kb |
Views | 30,360 |
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 |
Responsive table | 3,614 Kb |
Responsive Mobile Menu | 3,267 Kb |
Adaptive div height | 1,719 Kb |
Fixed header jquery | 3,367 Kb |
Show Extra Image on MouseOver with CSS | 1,716 Kb |
Sliding link on hover | 1,986 Kb |
Responsive Mobile Menu with CSS | 2,796 Kb |
Fixed header | 3,802 Kb |
Mobile Dropdown Menu | 4,204 Kb |
Progress Bar with jQuery | 2,749 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 |
Virtual vinyl | Davidpanik | 3,474 Kb |
Canvas stripes | Adrianparr | 1,948 Kb |
Slider | Mohammed-fawzy | 2,634 Kb |
TestTube CSS | EZPK | 2,710 Kb |
Portfolio page | Bhavya_j | 2,804 Kb |
Fireworks Show | Arianalynn | 3,048 Kb |
STIKHOI | Denmch | 7,122 Kb |
Cloud upload | Jaflo | 2,774 Kb |
CSS Link Icons with jQuery Titles | Nicwinn | 2,312 Kb |
Simple Weather App | Cmwebby | 0 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!