Play button hero

A sparse centered hero with a logo, headline and subline above one large round play button captioned with the video length.

Open preview
snippet.html71 lines
<section class="pbh">
  <div class="pbh__body">
    <a class="pbh__logo" href="#" data-block="Logo">Tide<b>line</b></a>
    <h1 class="pbh__title" data-block="Title">Forty winters on the Wadden Sea</h1>
    <p class="pbh__text" data-block="Subtitle">The last three families who farm oysters by hand on the Dutch coast.</p>
    <a class="pbh__watch" href="#" data-block="Video">
      <span class="pbh__play" aria-hidden="true">
        <svg viewBox="0 0 24 24"><path d="M8 5v14l11-7z" fill="currentColor"/></svg>
      </span>
      <span class="pbh__caption">Watch the trailer <span class="pbh__time">2:40</span></span>
    </a>
  </div>
</section>

<style>
  .pbh {
    --pbh-bg: #ffffff;
    --pbh-brand: #111111;
    --pbh-brand-dark: #000000;
    --pbh-tint: #f2f2f2;
    --pbh-line: #d4d4d4;
    --pbh-surface: #ffffff;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: var(--pbh-bg);
    color: var(--pbh-brand);
    font-family: Montserrat, "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  }
  .pbh *, .pbh *::before, .pbh *::after { box-sizing: border-box; }
  .pbh a { color: inherit; text-decoration: none; }
  .pbh a:focus-visible { outline: 2px solid var(--pbh-brand-dark); outline-offset: 3px; border-radius: 4px; }

  .pbh__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: calc(1128px + 4rem);
    margin: 0 auto;
    padding: 3rem clamp(1rem, 4vw, 2rem) clamp(4rem, 26vh, 15rem);
    text-align: center;
  }
  .pbh__logo { display: inline-flex; align-items: center; height: 64px; font-size: 1.75rem; font-weight: 400; letter-spacing: -0.01em; }
  .pbh__logo b { font-weight: 700; }
  .pbh__title { margin: clamp(2rem, 7vh, 4.25rem) 0 0; font-size: clamp(2.25rem, 4.2vw, 3.125rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
  .pbh__text { max-width: 40rem; margin: 0.5rem 0 0; font-size: 1rem; font-weight: 700; line-height: 1.5; }

  .pbh__watch { display: inline-flex; flex-direction: column; align-items: center; gap: 1.25rem; margin-top: 3rem; padding: 0.5rem; }
  .pbh__play {
    display: grid; place-items: center; width: 68px; height: 68px;
    border-radius: 50%; background: var(--pbh-brand); color: #fff;
    box-shadow: 0 0 0 10px rgb(0 0 0 / 0.1);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  }
  .pbh__play svg { width: 28px; height: 28px; margin-left: 3px; }
  .pbh__watch:hover .pbh__play { transform: scale(1.06); background: var(--pbh-brand-dark); box-shadow: 0 0 0 14px rgb(0 0 0 / 0.1); }
  .pbh__caption { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; }
  .pbh__time { padding: 0.2rem 0.5rem; border-radius: 4px; background: var(--pbh-brand-dark); color: #fff; font-size: 0.75rem; letter-spacing: 0.04em; }

  @media (max-width: 420px) {
    .pbh__logo { font-size: 1.5rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .pbh__play { transition: none; }
    .pbh__watch:hover .pbh__play { transform: none; }
  }
</style>

Kind
Wireframe
Category
Hero
Added
5 Nov 2026
Canvas
Full width
File
snippet.html
Size
71 lines · 3.1 KB
  • light
  • black-and-white
  • centered
  • video
  • minimal

One file: HTML, a style block and, when needed, a small script. Paste it anywhere. Nothing to install.