Spec bento panel

A rounded panel with a centered title, a tall hero tile between four spec tiles, and a row of five feature tiles.

Open preview
snippet.html37 lines
<section class="wsb">
  <div class="wsb__panel">
    <h2 class="wsb__title" data-block="Title">Halo Pocket</h2>
    <div class="wsb__grid">
      <div class="wsb__t wsb__g1" data-block="Card"></div>
      <div class="wsb__t wsb__g2" data-block="Image"></div>
      <div class="wsb__t wsb__hero" data-block="Device"></div>
      <div class="wsb__t wsb__g3" data-block="Card"></div>
      <div class="wsb__t wsb__g4" data-block="Image"></div>
    </div>
    <div class="wsb__row">
      <div class="wsb__t" data-block="Card"></div>
      <div class="wsb__t" data-block="Card"></div>
      <div class="wsb__t" data-block="Card"></div>
      <div class="wsb__t" data-block="Card"></div>
      <div class="wsb__t" data-block="Card"></div>
    </div>
  </div>
</section>

<style>
  .wsb { box-sizing: border-box; padding: clamp(1rem, 4vw, 3rem) clamp(1rem, 9.7vw, 140px); background: #ffffff; font-family: ui-sans-serif, system-ui, sans-serif; }
  .wsb *, .wsb *::before, .wsb *::after { box-sizing: border-box; }
  .wsb__panel { padding: clamp(1.25rem, 4.5vw, 3.3rem); border: 1px solid #111111; border-radius: 20px; background: #f4f4f4; color: #111111; }
  .wsb__title { margin: 0 0 clamp(1.25rem, 3vw, 2.5rem); text-align: center; font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 300; }
  .wsb__grid { display: grid; grid-template-columns: 1fr 2.08fr 1fr; grid-template-rows: 145fr 208fr; height: clamp(320px, 36vw, 520px); gap: 20px; }
  .wsb__t { border: 1px solid #c8c8c8; border-radius: 12px; background: #e4e4e4; }
  .wsb__g1 { grid-area: 1 / 1; } .wsb__g2 { grid-area: 2 / 1; } .wsb__hero { grid-area: 1 / 2 / 3 / 3; background: #d6d6d6; } .wsb__g3 { grid-area: 1 / 3; } .wsb__g4 { grid-area: 2 / 3; }
  .wsb__row { display: grid; grid-template-columns: 1.7fr 1fr 1.35fr 1fr 1.7fr; gap: 20px; margin-top: 20px; }
  .wsb__row .wsb__t { min-height: clamp(90px, 10.6vw, 150px); }
  @media (max-width: 720px) {
    .wsb__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; gap: 12px; }
    .wsb__g1, .wsb__g2, .wsb__g3, .wsb__g4 { grid-area: auto; min-height: 120px; }
    .wsb__hero { grid-area: auto; grid-column: 1 / -1; min-height: 240px; order: -1; }
    .wsb__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  }
</style>

Kind
Wireframe
Category
Bento
Added
6 Nov 2026
Canvas
Full width
File
snippet.html
Size
37 lines · 2.2 KB
  • black-and-white
  • bento
  • panel
  • specs

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