Quote card duo
Two testimonial cards at an uneven width ratio with quote, logo and attribution, over a stats line.
snippet.html32 lines
<section class="wqcd">
<div class="wqcd__grid">
<figure class="wqcd__card wqcd__card--a" data-block="Card">
<blockquote class="wqcd__quote">“A long customer quote, set large across two or three lines of the wider card.”</blockquote>
<figcaption class="wqcd__who"><span class="wqcd__logo"></span><span class="wqcd__name"><b>Person Name</b>Job title, Company</span></figcaption>
</figure>
<figure class="wqcd__card wqcd__card--b" data-block="Card">
<blockquote class="wqcd__quote">“A shorter quote in the narrower card.”</blockquote>
<figcaption class="wqcd__who"><span class="wqcd__logo"></span><span class="wqcd__name"><b>Person Name</b>Job title, Company</span></figcaption>
</figure>
</div>
<div class="wqcd__foot">
<p data-block="Text">Trusted by 1,200 engineering teams, from small shops to big companies.</p>
<a href="#" data-block="CTA">Customer stories →</a>
</div>
</section>
<style>
.wqcd { box-sizing: border-box; background: #fff; color: #111; font-family: ui-sans-serif, system-ui, sans-serif; padding: 80px 60px 100px; }
.wqcd *, .wqcd *::before, .wqcd *::after { box-sizing: border-box; }
.wqcd__grid { display: grid; grid-template-columns: 2fr 1.2fr; gap: 8px; max-width: 1320px; margin: 0 auto; }
.wqcd__card { margin: 0; min-height: 480px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 8px; }
.wqcd__card--a { background: #e4e4e4; } .wqcd__card--b { background: #cfcfcf; }
.wqcd__quote { margin: 0; max-width: 17em; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.14; letter-spacing: -0.03em; }
.wqcd__who { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 14px; line-height: 1.5; color: #555; }
.wqcd__logo { width: 36px; height: 36px; border-radius: 50%; background: #111; margin-right: 0; }
.wqcd__name b { display: block; color: #111; }
.wqcd__foot { display: flex; justify-content: space-between; gap: 20px; max-width: 1320px; margin: 36px auto 0; padding: 0 20px; font-size: 15px; color: #666; }
.wqcd__foot p { margin: 0; } .wqcd__foot a { color: inherit; text-decoration: none; white-space: nowrap; }
@media (max-width: 800px) {
.wqcd { padding: 40px 12px 56px; } .wqcd__grid { grid-template-columns: 1fr; } .wqcd__card { min-height: 320px; } .wqcd__foot { flex-direction: column; gap: 10px; }
}
</style>




