Snapshot mosaic

A title over a two-column tile grid that alternates one wide tile with two tall ones.

Open preview
snippet.html21 lines
<section class="wsm">
  <h2 class="wsm__title" data-block="Title">Snapshots</h2>
  <div class="wsm__grid">
    <div class="wsm__tile wsm__tile--wide" data-block="Image"></div>
    <div class="wsm__tile" data-block="Image"></div>
    <div class="wsm__tile" data-block="Image"></div>
    <div class="wsm__tile wsm__tile--wide" data-block="Image"></div>
    <div class="wsm__tile" data-block="Image"></div>
    <div class="wsm__tile" data-block="Image"></div>
  </div>
</section>

<style>
  .wsm { box-sizing: border-box; padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 9.7vw, 140px) 4rem; background: #ffffff; color: #111111; font-family: ui-sans-serif, system-ui, sans-serif; }
  .wsm *, .wsm *::before, .wsm *::after { box-sizing: border-box; }
  .wsm__title { margin: 0 0 1.5rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; }
  .wsm__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .wsm__tile { aspect-ratio: 573 / 763; border: 1px solid #d4d4d4; border-radius: 20px; background: #ececec; }
  .wsm__tile--wide { grid-column: 1 / -1; aspect-ratio: 1160 / 773; background: #e2e2e2; }
  @media (max-width: 560px) { .wsm__grid { grid-template-columns: 1fr; } .wsm__tile { aspect-ratio: 4 / 5; } .wsm__tile--wide { aspect-ratio: 4 / 3; } }
</style>

Kind
Wireframe
Category
Gallery
Added
6 Nov 2026
Canvas
Full width
File
snippet.html
Size
21 lines · 1.3 KB
  • black-and-white
  • mosaic
  • portfolio
  • grid

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