Photo rail

A full-width sideways strip of photo tiles with short captions. Gradient tiles stand in until you add pictures. Swipe or scroll on any screen, with the strip bleeding off the page edge. Use it for a gallery, places, team or process photos. It adds visual rhythm between text sections and needs no JavaScript.

← All blocks
Theme
Fonts
Width
HTML
<section class="blk-section" aria-labelledby="blk-photos-title">
  <div class="blk-container">
    <header class="blk-head">
      <div class="blk-head__main">
        <h2 id="blk-photos-title">A look around</h2>
        <p>Scroll through a few moments from our work and our place.</p>
      </div>
    </header>
  </div>
  <ul class="blk-photos" tabindex="0" aria-label="Photo gallery, scroll sideways">
    <li><figure class="blk-photo blk-photo--1"><figcaption>Our office</figcaption></figure></li>
    <li><figure class="blk-photo blk-photo--2"><figcaption>Client workshop</figcaption></figure></li>
    <li><figure class="blk-photo blk-photo--3"><figcaption>The team</figcaption></figure></li>
    <li><figure class="blk-photo blk-photo--4"><figcaption>On site</figcaption></figure></li>
    <li><figure class="blk-photo blk-photo--1"><figcaption>Planning session</figcaption></figure></li>
    <li><figure class="blk-photo blk-photo--2"><figcaption>Reviewing results</figcaption></figure></li>
  </ul>
</section>