Browser-window hero with activity ticker
A bordered browser frame holds a centered headline and two pill buttons, over an illustration band and a strip of activity chips.
snippet.html47 lines
<section class="wwh">
<div class="wwh__frame">
<header class="wwh__bar" data-block="Navigation">
<span class="wwh__dots" aria-hidden="true"><i></i><i></i><i></i></span>
<a class="wwh__logo" href="#">Fieldnote</a>
<nav class="wwh__nav" aria-label="Main"><a href="#">What</a><a href="#">Why</a><a href="#">Blog</a><a class="wwh__pill" href="#">Waitlist</a></nav>
</header>
<div class="wwh__panel">
<p class="wwh__eyebrow" data-block="Badge">Open to a few test groups</p>
<h1 class="wwh__title" data-block="Title">Trips Planned Together</h1>
<p class="wwh__text" data-block="Text">One person opens a plan. The whole group can change it, vote on options and keep the details current.</p>
<div class="wwh__actions" data-block="CTA"><a class="wwh__btn wwh__btn--solid" href="#">Get on the list</a><a class="wwh__btn" href="#">Browse sample plans</a></div>
</div>
</div>
<div class="wwh__scene" data-block="Image" aria-hidden="true"><i></i><i></i><i></i></div>
<ul class="wwh__ticker" data-block="List" aria-label="Recent activity">
<li><i></i>Noor joined a plan</li><li><i></i>Gus suggested a new stop</li><li><i></i>Aiko opened the itinerary</li><li><i></i>Pablo voted for Friday</li>
</ul>
</section>
<style>
.wwh { box-sizing: border-box; padding: 32px clamp(1rem, 5vw, 4.5rem) 0; background: #fff; color: #111; font-family: ui-sans-serif, system-ui, sans-serif; overflow: hidden; }
.wwh *, .wwh *::before, .wwh *::after { box-sizing: border-box; }
.wwh a { color: inherit; text-decoration: none; }
.wwh__frame { max-width: 1100px; margin: 0 auto; border: 1px solid #111; }
.wwh__bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px; border-bottom: 1px solid #111; background: #f2f2f2; }
.wwh__dots { display: flex; gap: 8px; } .wwh__dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #111; background: #fff; }
.wwh__logo { position: absolute; left: 50%; transform: translateX(-50%); font: 700 1.5rem/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: -0.03em; }
.wwh__nav { display: flex; align-items: center; gap: 1.5rem; font-size: 0.8125rem; }
.wwh__pill { padding: 0.25rem 0.6rem; border: 1px solid #111; border-radius: 6px; font-weight: 600; }
.wwh__panel { padding: clamp(2.5rem, 6vw, 4rem) 1.5rem 3rem; text-align: center; }
.wwh__eyebrow { display: inline-block; margin: 0 0 1.25rem; font-size: 0.8125rem; text-transform: uppercase; color: #666; }
.wwh__title { margin: 0 auto; max-width: 11ch; font-size: clamp(2.5rem, 5.2vw, 4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; }
.wwh__text { margin: 1.25rem auto 1.5rem; max-width: 40ch; font-size: 1.0625rem; line-height: 1.45; color: #555; }
.wwh__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.wwh__btn { padding: 0.5rem 1.1rem; border: 1px solid #111; border-radius: 999px; font-size: 0.9375rem; transition: background-color 0.15s; }
.wwh__btn:hover { background: #eee; }
.wwh__btn--solid { background: #111; color: #fff !important; } .wwh__btn--solid:hover { background: #000; }
.wwh__scene { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(2rem, 12vw, 10rem); max-width: 1100px; height: 200px; margin: 0 auto; padding-top: 1.5rem; border: 1px solid #111; border-top: 0; background: #e4e4e4; }
.wwh__scene i { width: clamp(50px, 9vw, 90px); height: 70%; border-radius: 40px 40px 0 0; background: #bdbdbd; }
.wwh__scene i:nth-child(2) { height: 55%; }
.wwh__ticker { display: flex; gap: 12px; margin: 24px calc(-1 * clamp(1rem, 5vw, 4.5rem)) 0; padding: 14px clamp(1rem, 5vw, 4.5rem); border-top: 1px solid #111; list-style: none; overflow: hidden; background: #f2f2f2; }
.wwh__ticker li { display: inline-flex; align-items: center; gap: 10px; padding-right: 14px; border: 1px solid #111; background: #fff; font-size: 0.9375rem; white-space: nowrap; }
.wwh__ticker i { width: 34px; height: 34px; background: #cfcfcf; }
@media (max-width: 720px) { .wwh__nav a:not(.wwh__pill), .wwh__dots { display: none; } .wwh__logo { position: static; transform: none; } .wwh__scene { height: 140px; } }
@media (prefers-reduced-motion: reduce) { .wwh__btn { transition: none; } }
</style>




