Simple CSS overlay
How do I make an simple css overlay?
What is a simple css overlay? How do you make a simple css overlay? This script and codes were developed by Luna Eye on 16 October 2022, Sunday.
Simple CSS overlay - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple CSS overlay</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" href="css/style.css">
</head>
<body> <figure class=""> <a href="#" class="zoom-hover"> <img src="http://placehold.it/350x150"> <div class="zoom-hover-overlay"> </div> </a>
</figure>
</body>
</html>
Simple CSS overlay - Script Codes CSS Codes
body { padding: 2em;
}
figure { position: relative;
}
figure img { width: 100%;
}
.zoom-hover { line-height: 0; display: inline-block; position: relative; max-width: 100%;
}
.zoom-hover>.zoom-hover-overlay { background-color: rgba(86,26,89,0.75);
}
.zoom-hover>.zoom-hover-overlay { transition: opacity 0.5s linear; opacity: 0; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden;
}
.zoom-hover>.zoom-hover-overlay>.zoom-hover-title-container { position: absolute; left: 50%; top: 50%; width: 0; height: 0;
}
.zoom-hover:hover>.zoom-hover-overlay { opacity: 1;
}
Developer | Luna Eye |
Username | lunaman |
Uploaded | October 16, 2022 |
Rating | 3 |
Size | 1,744 Kb |
Views | 50,600 |
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 |
Toggle button | 2,350 Kb |
Lifecycle | 2,637 Kb |
Nth-of-type testing | 1,583 Kb |
Benefits definition - VPO | 2,015 Kb |
Right arrow shape | 1,617 Kb |
Business Led Change | 1,920 Kb |
Project management UX | 4,274 Kb |
Bourbon overlay | 2,559 Kb |
JQuery Validate checkbox group | 2,466 Kb |
Multiple YouTube modals | 3,505 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 |
Navcube | Wbarlow | 4,775 Kb |
Bootstrap 3 Price Table | Honglio | 2,655 Kb |
Get third wednesday | Wojtek1150 | 2,691 Kb |
Apex Calculator | Michaelwnelson | 2,370 Kb |
A Pen by Oliver Schafeld | Schafeld | 1,720 Kb |
Canvas stripes | Adrianparr | 1,948 Kb |
Spin | Elalemanyo | 8,262 Kb |
Using Flickr API | MoyArt | 6,761 Kb |
Alumni ECA | MatheusLima92 | 3,777 Kb |
Ghost Buttons with CSS3 | Mithicher | 2,509 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!