Tabbed feature showcase
Heading and three short points on top, a wide app window beside a photo card, and a three-tab row underneath.
snippet.html47 lines
<section class="tfw">
<div class="tfw__top">
<div class="tfw__head">
<span class="tfw__badge" data-block="Badge">Back office</span>
<h2 class="tfw__title" data-block="Title">Simplify inventory, ordering, and reporting</h2>
<a class="tfw__link" href="#">Find out more →</a>
</div>
<ul class="tfw__points" data-block="List">
<li><i></i><p>Tune stock levels and margins</p></li>
<li><i></i><p>Automatically read supplier invoices</p></li>
<li><i></i><p>See live shop dashboards</p></li>
</ul>
</div>
<div class="tfw__grid">
<div class="tfw__app" data-block="Device"><div class="tfw__win"><i></i><i></i><i></i><i></i><i></i></div></div>
<figure class="tfw__photo" data-block="Image"><figcaption>20% less time on stock counts.</figcaption></figure>
</div>
<div class="tfw__tabs" data-block="Navigation">
<a href="#" class="is-active">Ordering</a><a href="#">Receiving</a><a href="#">Reports</a>
</div>
</section>
<style>
.tfw { --tfw-ink:#111; --tfw-line:#d4d4d4; --tfw-tint:#f2f2f2; box-sizing:border-box; padding:clamp(3rem,7vw,6rem) clamp(1rem,5vw,4.5rem); background:#fff; color:var(--tfw-ink); font-family:Inter,ui-sans-serif,system-ui,sans-serif; }
.tfw *, .tfw *::before, .tfw *::after { box-sizing:border-box; }
.tfw a { color:inherit; text-decoration:none; }
.tfw a:focus-visible { outline:2px solid #000; outline-offset:3px; }
.tfw__top { max-width:1216px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; }
.tfw__badge { display:inline-block; margin-bottom:1.75rem; padding:.3rem .8rem; border:1px solid var(--tfw-line); border-radius:6px; background:var(--tfw-tint); font-size:.875rem; }
.tfw__title { margin:0; max-width:24rem; font-size:clamp(1.75rem,2.4vw + .5rem,2.125rem); line-height:1.17; font-weight:600; }
.tfw__link { display:inline-block; margin-top:1.5rem; text-decoration:underline; text-underline-offset:4px; }
.tfw__points { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; margin:3rem 0 0; padding:0; list-style:none; }
.tfw__points i { display:block; width:20px; height:20px; border:2px solid var(--tfw-ink); border-radius:4px; }
.tfw__points p { margin:1rem 0 0; line-height:1.5; color:#444; }
.tfw__grid { max-width:1216px; margin:3.5rem auto 0; display:grid; grid-template-columns:2.07fr 1fr; gap:1.25rem; }
.tfw__app, .tfw__photo { min-height:460px; border:1px solid var(--tfw-line); border-radius:12px; background:var(--tfw-tint); }
.tfw__app { padding:3rem 0 0 3rem; overflow:hidden; }
.tfw__win { height:100%; padding:1.25rem; display:flex; flex-direction:column; gap:.9rem; border:2px solid var(--tfw-ink); border-right:0; border-bottom:0; border-radius:16px 0 0 0; background:#fff; }
.tfw__win i { display:block; height:20px; border-radius:3px; background:#e4e4e4; }
.tfw__photo { position:relative; margin:0; background:repeating-linear-gradient(135deg,#ececec 0 14px,#e2e2e2 14px 28px); }
.tfw__photo figcaption { position:absolute; left:1.5rem; right:1.5rem; bottom:1.5rem; font-size:1.125rem; font-weight:600; }
.tfw__tabs { max-width:1216px; margin:1.75rem auto 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; }
.tfw__tabs a { padding-top:1rem; border-top:2px solid var(--tfw-line); color:#777; font-weight:500; }
.tfw__tabs a.is-active { color:var(--tfw-ink); border-top-color:var(--tfw-ink); }
@media (max-width:900px) { .tfw__top, .tfw__grid { grid-template-columns:1fr; } .tfw__points { margin-top:0; } .tfw__app { padding:1.5rem 0 0 1.5rem; min-height:320px; } .tfw__photo { min-height:280px; } }
@media (max-width:560px) { .tfw__points { grid-template-columns:1fr; gap:1.25rem; } }
</style>




