<div class="hex-gallery">
<div class="hex-row">
<div class="hex-card">
<img src="https://placehold.co/300x300/3b82f6/ffffff?text=Nature" alt="Image">
<div class="hex-overlay">Nature</div>
</div>
<div class="hex-card">
<img src="https://placehold.co/300x300/ec4899/ffffff?text=Urban" alt="Image">
<div class="hex-overlay">Urban</div>
</div>
<div class="hex-card">
<img src="https://placehold.co/300x300/10b981/ffffff?text=Tech" alt="Image">
<div class="hex-overlay">Tech</div>
</div>
</div>
<div class="hex-row offset-row">
<div class="hex-card">
<img src="https://placehold.co/300x300/f59e0b/ffffff?text=Space" alt="Image">
<div class="hex-overlay">Space</div>
</div>
<div class="hex-card">
<img src="https://placehold.co/300x300/8b5cf6/ffffff?text=Ocean" alt="Image">
<div class="hex-overlay">Ocean</div>
</div>
</div>
</div>
Back to Snippets
Futuristic Hexagonal Grid Gallery CSS
Show off images with a futuristic hexagonal grid gallery. We used advanced CSS clip-path masking to tightly interlock the cards, so it completely eliminates boring squares.
111