Hover Over Image
How do I make an hover over image?
What is a hover over image? How do you make a hover over image? This script and codes were developed by Hayden Mills on 14 August 2022, Sunday.
Hover Over Image - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Hover Over Image</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <ul class="img-list"> <li> <a href=""> <img src="http://upload.wikimedia.org/wikipedia/commons/7/7a/Basketball.png" width="150" height="150" /> <span class="text-content"><span>Basketball</span></span> </a> </li>
</ul>
</body>
</html>
Hover Over Image - Script Codes CSS Codes
ul.img-list {
list-style-type: none;
margin: 0;
padding: 0;
text-align: center;
}
ul.img-list li {
display: inline-block;
height: 150px;
margin: 0 1em 1em 0;
position: relative;
width: 150px;
}
span.text-content {
background: rgba(0,0,0,0.5);
color: white;
cursor: pointer;
display: table;
height: 150px;
left: 0;
position: absolute;
top: 0;
width: 150px;
}
span.text-content span {
display: table-cell;
text-align: center;
vertical-align: middle;
}
span.text-content {
background: rgba(0,0,0,0.5);
color: white;
cursor: pointer;
display: table;
height: 150px;
left: 0;
position: absolute;
top: 0;
width: 150px;
opacity: 0;
}
ul.img-list li:hover span.text-content {
opacity: 1;
}
Developer | Hayden Mills |
Username | haydenmills |
Uploaded | August 14, 2022 |
Rating | 3 |
Size | 1,692 Kb |
Views | 34,408 |
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 fixed on scroll navigation menu | 6,191 Kb |
Responsive Fixed Navigation Overlay Menu | 2,700 Kb |
Fixed Nav Bar | 2,410 Kb |
Simple Buttons | 1,750 Kb |
CSS Text Drop Shadow | 1,613 Kb |
JQuery Text Fade In | 1,812 Kb |
Cool CSS Gradient Background | 1,589 Kb |
Responsive full body border | 5,101 Kb |
Top Menu Fixed After Image | 2,393 Kb |
Pop Out Modal | 3,892 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 |
A Pen by Moeid Saleem | Moeidsaleem | 1,862 Kb |
Owl Carousel - jumpTo | OwlFonk | 2,553 Kb |
Fullscreen audio play button | 72 | 2,148 Kb |
Sequence.js - Sliding Horizontal Parallax | Maheshc | 4,537 Kb |
Placeholder support for contentEditable elements, without JavaScript | Flesler | 1,863 Kb |
Coming Soon | MariamMassadeh | 1,680 Kb |
Table border-collapse property | Maxds | 1,672 Kb |
Animated Slide Hamburger Mobile Menu | BJack | 2,247 Kb |
Simple checkbox style | Vncnz | 2,628 Kb |
Fixed with using Calc | Tomleo | 2,542 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!