Image Zoom Reveal
A card with an image that zooms in on hover while an overlay caption slides up from the bottom.
Image Zoom Reveal
by FreeCsStyles Dev's
Hover EffectsCinematic
🌐HTML/CSS
#image#zoom#reveal#overlay
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/image-zoom-reveal.
<iframe src="/embed/image-zoom-reveal" sandbox="allow-scripts" loading="lazy" title="Image Zoom Reveal" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Image Zoom Reveal. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.
HTML
<div class="zoom-reveal-card">
<div class="zoom-image"></div>
<div class="zoom-overlay">
<h3>Mountain View</h3>
<p>Nature Collection</p>
</div>
<div class="zoom-icon">↗</div>
</div>CSS
.zoom-reveal-card {
position: relative;
width: 240px;
height: 180px;
border-radius: 16px;
overflow: hidden;
cursor: pointer;
}
.zoom-image {
position: absolute;
inset: 0;
background: linear-gradient(135deg, #8b5cf6, #06b6d4, #ec4899);
background-size: 120% 120%;
transition: transform 0.4s ease, background-size 0.4s ease;
}
.zoom-reveal-card:hover .zoom-image {
transform: scale(1.1);
background-size: 140% 140%;
}
.zoom-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 16px 18px;
background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
transform: translateY(20px);
opacity: 0;
transition: transform 0.4s ease, opacity 0.4s ease;
}
.zoom-reveal-card:hover .zoom-overlay {
transform: translateY(0);
opacity: 1;
}
.zoom-overlay h3 { font-size: 15px; font-weight: 700; color: #fff; }
.zoom-overlay p { font-size: 12px; color: rgba(255, 255, 255, 0.7); margin-top: 2px; }
.zoom-icon {
position: absolute;
top: 12px;
right: 12px;
width: 32px;
height: 32px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(8px);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 14px;
opacity: 0;
transition: opacity 0.3s ease;
}
.zoom-reveal-card:hover .zoom-icon { opacity: 1; }Where Image Zoom Reveal fits
- Galleries
- Portfolio Cards
- Product Previews
Topics
- #image
- #zoom
- #reveal
- #overlay