Masonry Testimonial Grid
A masonry-style grid of testimonial cards with varying heights, avatars, and star ratings.
Masonry Testimonial Grid
by FreeCsStyles Dev's
TestimonialsModern
🌐HTML/CSS
#masonry#grid#testimonials#reviews
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/masonry-testimonial-grid.
<iframe src="/embed/masonry-testimonial-grid" sandbox="allow-scripts" loading="lazy" title="Masonry Testimonial Grid" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Masonry Testimonial Grid. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.
HTML
<div class="masonry-grid">
<div class="masonry-card">
<div class="card-stars">★★★★★</div>
<p>"Amazing quality!"</p>
<div class="card-author">
<div class="author-avatar">S</div>
<span>Sarah K.</span>
</div>
</div>
<div class="masonry-card">
<div class="card-stars">★★★★★</div>
<p>"Best UI library I have used."</p>
<div class="card-author">
<div class="author-avatar">M</div>
<span>Mike R.</span>
</div>
</div>
</div>CSS
.masonry-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
max-width: 380px;
}
.masonry-card {
border-radius: 12px;
padding: 14px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.08);
display: flex;
flex-direction: column;
justify-content: space-between;
}
.card-stars { color: #f59e0b; font-size: 11px; margin-bottom: 6px; }
.masonry-card p { font-size: 12px; color: rgba(255, 255, 255, 0.8); line-height: 1.5; }
.card-author { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.author-avatar {
width: 24px;
height: 24px;
border-radius: 50%;
background: linear-gradient(135deg, #8b5cf6, #06b6d4);
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
font-weight: 800;
color: #fff;
}
.card-author span { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.6); }Where Masonry Testimonial Grid fits
- Social Proof
- Landing Pages
- Community Walls
Topics
- #masonry
- #grid
- #testimonials
- #reviews