Quote card duo
Two oversized testimonial cards at an uneven ratio, one in soft blue gradient and one in flat lime, with light quotes and dividers.
snippet.html61 lines
<section class="qcd">
<div class="qcd__grid">
<figure class="qcd__card qcd__card--sky">
<svg class="qcd__mark" viewBox="0 0 200 200" aria-hidden="true"><g fill="none" stroke="#fff" stroke-width="22" stroke-linejoin="round" opacity=".5"><path d="M100 20 170 60v80l-70 40-70-40V60z"/><path d="M100 20v80M30 60l70 40 70-40"/></g></svg>
<blockquote class="qcd__quote">“Our release notes got shorter and our bug count dropped, mostly because nobody skips the dull steps now.”</blockquote>
<figcaption class="qcd__who">
<span class="qcd__logo" aria-hidden="true"><svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="2"/><path d="M8 12h8M12 8v8" stroke="currentColor" stroke-width="2"/></svg></span>
<span class="qcd__name"><b>Dana Whitlock</b>Staff Engineer, Halcyon Labs</span>
</figcaption>
</figure>
<figure class="qcd__card qcd__card--lime">
<blockquote class="qcd__quote">“We ship daily, and this keeps the backlog honest.”</blockquote>
<figcaption class="qcd__who">
<span class="qcd__logo" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M3 19C9 19 16 14 21 4c-1 9-6 15-18 15z" fill="currentColor"/></svg></span>
<span class="qcd__name"><b>Priya Raman</b>Head of Engineering, Kestrel</span>
</figcaption>
</figure>
</div>
<div class="qcd__foot">
<p>Trusted by <b>1,200</b> engineering teams, from two-person shops to big companies.</p>
<a href="#">Customer stories <span aria-hidden="true">→</span></a>
</div>
</section>
<style>
.qcd {
--qcd-bg: #08090a;
--qcd-mute: #8a8f98;
box-sizing: border-box;
background: var(--qcd-bg);
color: #f7f8f8;
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
padding: 80px 60px 100px;
}
.qcd *, .qcd *::before, .qcd *::after { box-sizing: border-box; }
.qcd__grid { display: grid; grid-template-columns: 2fr 1.2fr; gap: 8px; max-width: 1320px; margin: 0 auto; }
.qcd__card { position: relative; overflow: hidden; margin: 0; min-height: 480px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 8px; color: #08090a; }
.qcd__card--sky { background: linear-gradient(160deg, #cfe3ff 0%, #d9ddff 55%, #ebe4fb 100%); }
.qcd__card--lime { background: #e5f326; }
.qcd__mark { position: absolute; right: -60px; top: 40px; width: 460px; height: 460px; pointer-events: none; }
.qcd__quote { position: relative; margin: 0; max-width: 17em; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.14; font-weight: 400; letter-spacing: -0.03em; text-indent: -0.45em; padding-left: 0.45em; }
.qcd__who { position: relative; display: flex; align-items: center; gap: 14px; margin: 0; font-size: 14px; line-height: 1.5; letter-spacing: -0.01em; }
.qcd__logo { display: grid; place-items: center; width: 36px; height: 36px; padding-right: 14px; border-right: 1px solid rgba(8,9,10,0.15); box-sizing: content-box; }
.qcd__logo svg { width: 28px; height: 28px; }
.qcd__name b { display: block; font-weight: 520; }
.qcd__name { color: rgba(8,9,10,0.6); }
.qcd__name b { color: #08090a; }
.qcd__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; max-width: 1320px; margin: 36px auto 0; padding: 0 20px; font-size: 15px; color: var(--qcd-mute); }
.qcd__foot p { margin: 0; }
.qcd__foot b { color: #f7f8f8; font-weight: 520; }
.qcd__foot a { color: inherit; text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.qcd__foot a:hover { color: #f7f8f8; }
.qcd__foot a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 800px) {
.qcd { padding: 40px 12px 56px; }
.qcd__grid { grid-template-columns: 1fr; }
.qcd__card { min-height: 340px; }
.qcd__mark { width: 300px; height: 300px; right: -90px; }
.qcd__foot { flex-direction: column; gap: 10px; }
}
</style>