App window hero
Black-and-white hero layout with a headline and subtitle over a large app window with an overlapping assistant panel.
snippet.html54 lines
<section class="wawh">
<header class="wawh__nav" data-block="Navigation">
<span class="wawh__logo"><i></i>Brand</span>
<nav class="wawh__links"><a href="#">Product</a><a href="#">Customers</a><a href="#">Pricing</a><a href="#">Changelog</a></nav>
<a class="wawh__pill" href="#">Sign up</a>
</header>
<div class="wawh__head">
<h1 class="wawh__title" data-block="Title">A headline that names the product and who it is for</h1>
<div class="wawh__row">
<p class="wawh__sub" data-block="Subtitle">One line on what the product does and the era it is built for.</p>
<a class="wawh__link" href="#" data-block="CTA">New feature →</a>
</div>
</div>
<div class="wawh__stage">
<div class="wawh__win" data-block="Device">
<aside class="wawh__side"><i></i><i></i><i></i><i></i><i></i><i></i></aside>
<div class="wawh__main"><b></b><u></u><u></u><u class="s"></u><span></span><span></span></div>
<div class="wawh__agent"><b></b><u></u><u></u><span></span></div>
</div>
</div>
</section>
<style>
.wawh { box-sizing: border-box; background: #fff; color: #111; font-family: ui-sans-serif, system-ui, sans-serif; overflow: hidden; }
.wawh *, .wawh *::before, .wawh *::after { box-sizing: border-box; }
.wawh a { color: inherit; text-decoration: none; }
.wawh__nav { display: flex; align-items: center; gap: 24px; padding: 18px 80px; border-bottom: 1px solid #d4d4d4; font-size: 13px; color: #555; }
.wawh__logo { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; color: #111; }
.wawh__logo i { width: 20px; height: 20px; border-radius: 50%; background: #111; }
.wawh__links { display: flex; gap: 24px; margin-left: auto; }
.wawh__pill { border: 1px solid #111; padding: 7px 14px; border-radius: 999px; color: #111; font-weight: 600; }
.wawh__head { max-width: 1440px; margin: 0 auto; padding: 120px 80px 0; }
.wawh__title { margin: 0; max-width: 14em; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.04; font-weight: 500; letter-spacing: -0.03em; }
.wawh__row { display: flex; justify-content: space-between; gap: 24px; margin-top: 36px; font-size: 15px; color: #666; }
.wawh__sub { margin: 0; }
.wawh__stage { padding: 64px 60px 0; }
.wawh__win { position: relative; display: grid; grid-template-columns: 220px 1fr; min-height: 620px; border: 1px solid #bdbdbd; border-radius: 12px 12px 0 0; background: #f6f6f6; overflow: hidden; }
.wawh__side { padding: 20px 16px; border-right: 1px solid #d4d4d4; display: grid; gap: 12px; align-content: start; }
.wawh__side i { height: 12px; border-radius: 4px; background: #d4d4d4; }
.wawh__main { padding: 28px 400px 28px 56px; display: grid; gap: 12px; align-content: start; }
.wawh__main b { height: 20px; width: 40%; background: #bdbdbd; border-radius: 4px; }
.wawh__main u, .wawh__main span { height: 12px; background: #dcdcdc; border-radius: 4px; }
.wawh__main u.s { width: 60%; }
.wawh__main span { height: 56px; background: #fff; border: 1px solid #d4d4d4; border-radius: 8px; }
.wawh__agent { position: absolute; right: 12px; bottom: 0; width: 370px; height: 460px; padding: 16px; display: grid; gap: 12px; align-content: start; background: #fff; border: 1px solid #bdbdbd; border-bottom: 0; border-radius: 12px 12px 0 0; }
.wawh__agent b { height: 14px; width: 30%; background: #bdbdbd; border-radius: 4px; }
.wawh__agent u { height: 40px; background: #ececec; border-radius: 8px; }
.wawh__agent span { height: 70px; border: 1px solid #d4d4d4; border-radius: 8px; }
@media (max-width: 900px) {
.wawh__nav { padding: 14px 20px; } .wawh__links { display: none; } .wawh__pill { margin-left: auto; }
.wawh__head { padding: 64px 20px 0; } .wawh__row { flex-direction: column; gap: 12px; }
.wawh__stage { padding: 40px 12px 0; } .wawh__win { grid-template-columns: 1fr; min-height: 0; }
.wawh__side { display: none; } .wawh__main { padding: 20px; } .wawh__agent { position: static; width: auto; height: 220px; margin: 0 12px; }
}
</style>




