Testimonial rail

A sideways scroll-snap row of review cards, each with a star rating, a quote and a named author. Three across on desktop, one with the next peeking in on a phone. Use it when you have more reviews than fit in a grid. It scrolls by touch, trackpad or keyboard with no JavaScript, so add as many cards as you like.

← All blocks
Theme
Fonts
Width
HTML
<section class="blk-section blk-rail-band" aria-labelledby="blk-rail-title">
  <div class="blk-container">
    <header class="blk-head">
      <div class="blk-head__main">
        <h2 id="blk-rail-title">What clients say</h2>
        <p>Reviews from people we have worked with.</p>
      </div>
    </header>
    <ul class="blk-rail" tabindex="0" aria-label="Client reviews, scroll sideways">
      <li class="blk-review">
        <p class="blk-review__stars" role="img" aria-label="5 out of 5 stars">&#9733;&#9733;&#9733;&#9733;&#9733;</p>
        <blockquote class="blk-review__quote"><p>Clear, calm and quick. We knew what was happening at every step and the result was exactly as promised.</p></blockquote>
        <p class="blk-review__who"><strong>Jane Smith</strong><span>Director, Example Ltd</span></p>
      </li>
      <li class="blk-review">
        <p class="blk-review__stars" role="img" aria-label="5 out of 5 stars">&#9733;&#9733;&#9733;&#9733;&#9733;</p>
        <blockquote class="blk-review__quote"><p>I had been putting this off for months. It was sorted in a week and I did not have to chase anyone.</p></blockquote>
        <p class="blk-review__who"><strong>Alex Doe</strong><span>Freelance designer</span></p>
      </li>
      <li class="blk-review">
        <p class="blk-review__stars" role="img" aria-label="5 out of 5 stars">&#9733;&#9733;&#9733;&#9733;&#9733;</p>
        <blockquote class="blk-review__quote"><p>Straight answers in plain language. I would recommend them to anyone in the same position.</p></blockquote>
        <p class="blk-review__who"><strong>Sam Taylor</strong><span>Founder, Sample Studio</span></p>
      </li>
      <li class="blk-review">
        <p class="blk-review__stars" role="img" aria-label="5 out of 5 stars">&#9733;&#9733;&#9733;&#9733;&#9733;</p>
        <blockquote class="blk-review__quote"><p>Fast replies and no surprises on the price. Exactly what I wanted from a professional.</p></blockquote>
        <p class="blk-review__who"><strong>Chris Lee</strong><span>Operations manager</span></p>
      </li>
    </ul>
  </div>
</section>