Snippets Blog

Bootstrap 5 Blog Section with Featured Post

A featured-story blog section with a large lead article and a stacked list of recent posts, each card fully clickable.

Bootstrap 5 No jQuery Nov 2019 2.1K views

<section class="wdw-stage">
  <div class="container" style="max-width:1080px">
    <div class="d-flex flex-wrap align-items-end justify-content-between gap-3 mb-4">
      <div>
        <span class="wdw-eyebrow mb-2">The journal</span>
        <h1 class="wdw-heading h2 mb-1">Latest news and stories</h1>
        <p class="wdw-muted mb-0">Ideas, updates and practical advice from the team.</p>
      </div>
      <a href="#" class="btn btn-outline-primary rounded-pill">View all posts</a>
    </div>
    <div class="row g-4">
      <div class="col-lg-7">
        <article class="wdw-card blog-feature h-100 overflow-hidden position-relative">
          <img src="https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1000&h=560&q=75" alt="Laptop with code on a desk" class="w-100 blog-hero" width="1000" height="560">
          <div class="p-4">
            <span class="badge rounded-pill bg-primary-subtle text-primary-emphasis mb-2">Design</span>
            <h2 class="h4 fw-bold mb-2"><a href="#" class="stretched-link link-body-emphasis text-decoration-none">Technologies started to change drastically</a></h2>
            <p class="wdw-muted">How design systems, AI-assisted tooling and faster browsers are reshaping the way small teams ship product, and what it means for your next release.</p>
            <div class="d-flex align-items-center gap-2 small wdw-muted">
              <img src="https://i.pravatar.cc/64?img=47" alt="" class="rounded-circle" width="28" height="28">
              <span class="fw-semibold text-body">Jane Doe</span><span>· Sep 15, 2026 · 6 min read</span>
            </div>
          </div>
        </article>
      </div>
      <div class="col-lg-5">
        <div class="d-flex flex-column gap-3 h-100">
        <article class="wdw-card-sm blog-row d-flex gap-3 p-3 position-relative">
          <img src="https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&w=240&h=240&q=70" alt="" class="blog-thumb rounded-3" width="96" height="96" loading="lazy">
          <div class="min-w-0">
            <span class="badge rounded-pill text-bg-light border mb-1">Writing</span>
            <h3 class="h6 fw-bold mb-1"><a href="#" class="stretched-link link-body-emphasis text-decoration-none">Seven habits of calm, productive writers</a></h3>
            <p class="small wdw-muted mb-0">Sep 12, 2026</p>
          </div>
        </article>
        <article class="wdw-card-sm blog-row d-flex gap-3 p-3 position-relative">
          <img src="https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=240&h=240&q=70" alt="" class="blog-thumb rounded-3" width="96" height="96" loading="lazy">
          <div class="min-w-0">
            <span class="badge rounded-pill text-bg-light border mb-1">Team</span>
            <h3 class="h6 fw-bold mb-1"><a href="#" class="stretched-link link-body-emphasis text-decoration-none">How we run a design review that people enjoy</a></h3>
            <p class="small wdw-muted mb-0">Sep 9, 2026</p>
          </div>
        </article>
        <article class="wdw-card-sm blog-row d-flex gap-3 p-3 position-relative">
          <img src="https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=240&h=240&q=70" alt="" class="blog-thumb rounded-3" width="96" height="96" loading="lazy">
          <div class="min-w-0">
            <span class="badge rounded-pill text-bg-light border mb-1">Culture</span>
            <h3 class="h6 fw-bold mb-1"><a href="#" class="stretched-link link-body-emphasis text-decoration-none">Remote workshops that actually produce ideas</a></h3>
            <p class="small wdw-muted mb-0">Sep 4, 2026</p>
          </div>
        </article>
        <article class="wdw-card-sm blog-row d-flex gap-3 p-3 position-relative">
          <img src="https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=240&h=240&q=70" alt="" class="blog-thumb rounded-3" width="96" height="96" loading="lazy">
          <div class="min-w-0">
            <span class="badge rounded-pill text-bg-light border mb-1">Craft</span>
            <h3 class="h6 fw-bold mb-1"><a href="#" class="stretched-link link-body-emphasis text-decoration-none">A practical guide to taming long-form content</a></h3>
            <p class="small wdw-muted mb-0">Aug 30, 2026</p>
          </div>
        </article>
        </div>
      </div>
    </div>
  </div>
</section>

Built on Bootstrap 5.3.8 with plain JavaScript — no jQuery. Supports light and dark mode via data-bs-theme.

Free to use in personal and commercial projects under the MIT license.