Unlock every premium block and template with All-Access from $20 / 3 months, cancel anytime. Get All-Access
All blocks
Free Demo

Ironvale Demo

A demo block extracted from the Ironvale template, available in Tailwind CSS.

0 21
Ironvale Demo preview

Download Codebase

Commercial License

Free download · up to 5 blocks per day. Unlimited with All-Access

ironvale.html
<!DOCTYPE html>
<html lang="en">
<head>
  <script>
    window.FontAwesomeConfig = {
      autoReplaceSvg: 'nest'
    };
  </script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Ironvale Demo | Tailwind CSS UI Block</title>
  <meta name="description" content="A demo block extracted from the Ironvale template, available in Tailwind CSS.">
  <meta name="keywords" content="Ironvale, Tailwind CSS template, HTML website template, fitness blog, gym magazine, workout articles, nutrition blog, responsive bento blog design">
  <meta name="author" content="Let's templates">
  <link rel="canonical" href="">

  <meta property="og:type" content="product">
  <meta property="og:site_name" content="Let's templates">
  <meta property="og:locale" content="en_US">
  <meta property="og:url" content="">
  <meta property="og:title" content="Ironvale | Tailwind CSS Fitness Blog Template">
  <meta property="og:description" content="A bold Tailwind CSS fitness blog template for gyms, coaches, and wellness writers publishing training guides, nutrition tips, and video tutorials.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Ironvale template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Ironvale | Tailwind CSS Fitness Blog Template">
  <meta name="twitter:description" content="A bold Tailwind CSS fitness blog template for gyms, coaches, and wellness writers publishing training guides, nutrition tips, and video tutorials.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Ironvale template preview">
  <script src="https://cdn.tailwindcss.com/3.4.17"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:wght@400;500;600;700;800&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            ink: '#111111',
            frame: '#eef0e6',
            smoke: '#efefeb',
            line: '#e8e8e4',
            citrus: { DEFAULT: '#e2f5b5', deep: '#c6ea68' },
            mist: { DEFAULT: '#cfe1f0', deep: '#b2cde6' },
            lilac: { DEFAULT: '#cdb8f0', deep: '#b59bea' },
            butter: { DEFAULT: '#fdf6c8', deep: '#f6e27b' }
          },
          fontFamily: {
            display: ['"Archivo Black"', 'Archivo', 'sans-serif'],
            sans: ['Archivo', 'ui-sans-serif', 'system-ui', 'sans-serif']
          }
        }
      }
    };
  </script>
  <style>
    @view-transition {
      navigation: auto;
    }
    ::view-transition-old(root) {
      animation: 180ms ease-out both page-fade-out;
    }
    ::view-transition-new(root) {
      animation: 220ms ease-in both page-fade-in;
    }
    @keyframes page-fade-out {
      to { opacity: 0; }
    }
    @keyframes page-fade-in {
      from { opacity: 0; }
    }
    .notch-corner {
      position: absolute;
      width: 22px;
      height: 22px;
      pointer-events: none;
    }
    .nc-bl { background: radial-gradient(circle at 100% 0, transparent 21.5px, #fff 22px); }
    .nc-tr { background: radial-gradient(circle at 0 100%, transparent 21.5px, #fff 22px); }
    .nc-br { background: radial-gradient(circle at 0 0, transparent 21.5px, #fff 22px); }
    .rings {
      background-image: repeating-radial-gradient(circle at 72% 36%, transparent 0 30px, rgba(255, 255, 255, 0.42) 30px 32px);
    }
    .fade-top {
      -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
      mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
    }
    .marquee-track {
      animation: marquee 32s linear infinite;
    }
    @keyframes marquee {
      to { transform: translateX(-50%); }
    }
    .reveal-ready [data-reveal] {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .6s ease, transform .6s ease;
      transition-delay: var(--reveal-delay, 0ms);
    }
    .reveal-ready [data-reveal].is-visible {
      opacity: 1;
      transform: none;
    }
    @media (prefers-reduced-motion: reduce) {
      ::view-transition-old(root),
      ::view-transition-new(root) {
        animation: none;
      }
      .marquee-track { animation: none; }
    }
  </style>
</head>
<body class="bg-frame font-sans text-ink antialiased lg:p-4">
<!-- block:start demo -->
    <section id="tutorials" class="px-4 pt-20 sm:px-6 lg:px-10 lg:pt-28">
      <div class="flex flex-col gap-4 md:flex-row md:items-end md:justify-between" data-reveal>
        <div>
          <p class="inline-flex items-center gap-2 rounded-full bg-lilac px-4 py-2 text-xs font-bold uppercase tracking-wider">
            <i class="fa-solid fa-circle-play"></i>
            Video tutorials
          </p>
          <h2 class="mt-4 font-display text-4xl uppercase leading-none tracking-tight md:text-5xl">Train along</h2>
        </div>
        <p class="max-w-md text-sm leading-relaxed text-ink/70 md:text-right">Follow-along sessions filmed in our studio, each paired with a written guide so you can train at your own pace.</p>
      </div>

      <div class="mt-10 grid gap-1.5 lg:grid-cols-[1.65fr_1fr]" data-video-tabs>
        <div id="tutorial-panel" role="tabpanel" aria-label="Featured tutorial" data-reveal>
          <a href="soft-hard-training.html" data-video-link class="group relative block aspect-[4/5] overflow-hidden rounded-[28px] sm:aspect-[16/10] lg:h-full lg:min-h-[480px] lg:aspect-auto">
            <img data-video-image src="https://images.unsplash.com/photo-1575052814086-f385e2e2ad1b?auto=format&fit=crop&w=1400&q=80" alt="Woman holding a seated yoga stretch in a warm sunlit studio" class="absolute inset-0 h-full w-full object-cover transition duration-700 group-hover:scale-105">
            <span class="absolute inset-0 bg-gradient-to-t from-black/75 via-black/10 to-transparent"></span>
            <span class="absolute left-1/2 top-1/2 flex h-20 w-20 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full bg-white/25 text-2xl text-white ring-8 ring-white/15 backdrop-blur-md transition-transform duration-300 group-hover:scale-110">
              <i class="fa-solid fa-play translate-x-0.5"></i>
            </span>
            <div class="absolute inset-x-5 bottom-5 text-white lg:inset-x-8 lg:bottom-8">
              <p data-video-meta class="text-sm text-white/75">Episode 01 . 12 Min</p>
              <h3 data-video-title class="mt-2 max-w-2xl font-display text-2xl uppercase leading-tight tracking-tight md:text-4xl">Strength &amp; flow | Balancing soft and hard training days</h3>
            </div>
          </a>
        </div>

        <div class="flex flex-col gap-1.5" data-reveal style="--reveal-delay: 120ms">
          <div class="rounded-[28px] bg-lilac p-3 lg:p-4">
            <h3 class="px-2 pb-3 pt-1 font-display text-lg uppercase">Up next</h3>
            <div role="tablist" aria-label="Tutorial videos" class="space-y-1.5">
                <button type="button" role="tab" aria-selected="true" aria-controls="tutorial-panel" data-video-tab data-href="soft-hard-training.html" data-title="Strength &amp; flow | Balancing soft and hard training days" data-meta="Episode 01 . 12 Min" data-image="https://images.unsplash.com/photo-1575052814086-f385e2e2ad1b?auto=format&fit=crop&w=1400&q=80" data-alt="Woman holding a seated yoga stretch in a warm sunlit studio" class="flex w-full items-center gap-4 rounded-[22px] p-2.5 text-left transition-colors hover:bg-white/60 aria-selected:bg-white">
                  <img src="https://images.unsplash.com/photo-1575052814086-f385e2e2ad1b?auto=format&fit=crop&w=300&q=70" alt="" class="h-20 w-24 shrink-0 rounded-2xl object-cover">
                  <span class="min-w-0">
                    <span class="block text-xs text-ink/60">Episode 01 . 12 Min</span>
                    <span class="mt-1 block text-sm font-extrabold uppercase leading-snug">Strength &amp; flow | Balancing soft and hard training days</span>
                  </span>
                </button>
                <button type="button" role="tab" aria-selected="false" aria-controls="tutorial-panel" data-video-tab data-href="kettlebell-basics.html" data-title="Kettlebell basics: five moves for total-body power" data-meta="Episode 02 . 9 Min" data-image="https://images.unsplash.com/photo-1601422407692-ec4eeec1d9b3?auto=format&fit=crop&w=1400&q=80" data-alt="Athlete pressing a green kettlebell overhead in an industrial gym" class="flex w-full items-center gap-4 rounded-[22px] p-2.5 text-left transition-colors hover:bg-white/60 aria-selected:bg-white">
                  <img src="https://images.unsplash.com/photo-1601422407692-ec4eeec1d9b3?auto=format&fit=crop&w=300&q=70" alt="" class="h-20 w-24 shrink-0 rounded-2xl object-cover">
                  <span class="min-w-0">
                    <span class="block text-xs text-ink/60">Episode 02 . 9 Min</span>
                    <span class="mt-1 block text-sm font-extrabold uppercase leading-snug">Kettlebell basics: five moves for total-body power</span>
                  </span>
                </button>
                <button type="button" role="tab" aria-selected="false" aria-controls="tutorial-panel" data-video-tab data-href="swing-mobility.html" data-title="Mobility drills that free up a stiff swing" data-meta="Episode 03 . 5 Min" data-image="https://images.unsplash.com/photo-1562771379-eafdca7a02f8?auto=format&fit=crop&w=1400&q=80" data-alt="Athlete stretching his hamstrings on a red running track" class="flex w-full items-center gap-4 rounded-[22px] p-2.5 text-left transition-colors hover:bg-white/60 aria-selected:bg-white">
                  <img src="https://images.unsplash.com/photo-1562771379-eafdca7a02f8?auto=format&fit=crop&w=300&q=70" alt="" class="h-20 w-24 shrink-0 rounded-2xl object-cover">
                  <span class="min-w-0">
                    <span class="block text-xs text-ink/60">Episode 03 . 5 Min</span>
                    <span class="mt-1 block text-sm font-extrabold uppercase leading-snug">Mobility drills that free up a stiff swing</span>
                  </span>
                </button>
            </div>
          </div>
          <a href="blog.html#topic-tutorial" class="group flex flex-1 items-center justify-between gap-4 rounded-[28px] bg-butter px-6 py-6">
            <span>
              <span class="block font-display text-xl uppercase leading-tight">New episode every Thursday</span>
              <span class="mt-1 block text-sm text-ink/70">Browse every tutorial in the archive</span>
            </span>
            <span class="flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-ink text-white transition-transform group-hover:rotate-45">
              <i class="fa-solid fa-arrow-up rotate-45"></i>
            </span>
          </a>
        </div>
      </div>
    </section>
    <!-- block:end demo -->
<script>
    document.querySelectorAll("[data-menu-toggle]").forEach((button) => {
      const menu = document.getElementById(button.getAttribute("aria-controls"));
      if (!menu) return;
      button.addEventListener("click", () => {
        const open = button.getAttribute("aria-expanded") === "true";
        button.setAttribute("aria-expanded", String(!open));
        button.setAttribute("aria-label", open ? "Open menu" : "Close menu");
        menu.classList.toggle("hidden", open);
      });
    });

    (() => {
      const items = document.querySelectorAll("[data-reveal]");
      const skip = navigator.webdriver || !("IntersectionObserver" in window) || matchMedia("(prefers-reduced-motion: reduce)").matches;
      if (!items.length || skip) return;
      document.documentElement.classList.add("reveal-ready");
      const observer = new IntersectionObserver((entries) => {
        entries.forEach((entry) => {
          if (!entry.isIntersecting) return;
          entry.target.classList.add("is-visible");
          observer.unobserve(entry.target);
        });
      }, { rootMargin: "0px 0px -10% 0px" });
      items.forEach((item) => observer.observe(item));
    })();

    document.querySelectorAll("[data-filter-group]").forEach((group) => {
      const items = group.closest("section").querySelectorAll("[data-filter-items] [data-category]");
      const activeClasses = ["bg-ink", "text-white"];
      const idleClasses = ["bg-smoke", "hover:bg-citrus"];
      group.addEventListener("click", (event) => {
        const button = event.target.closest("[data-filter]");
        if (!button) return;
        const filter = button.dataset.filter;
        group.querySelectorAll("[data-filter]").forEach((chip) => {
          const active = chip === button;
          chip.setAttribute("aria-pressed", String(active));
          activeClasses.forEach((cls) => chip.classList.toggle(cls, active));
          idleClasses.forEach((cls) => chip.classList.toggle(cls, !active));
        });
        items.forEach((item) => {
          const match = filter === "all" || item.dataset.category.split(" ").includes(filter);
          item.hidden = !match;
        });
      });
    });

    document.querySelectorAll("[data-video-tabs]").forEach((root) => {
      const link = root.querySelector("[data-video-link]");
      const image = root.querySelector("[data-video-image]");
      const title = root.querySelector("[data-video-title]");
      const meta = root.querySelector("[data-video-meta]");
      const tabs = [...root.querySelectorAll("[data-video-tab]")];
      const select = (tab) => {
        tabs.forEach((item) => item.setAttribute("aria-selected", String(item === tab)));
        link.href = tab.dataset.href;
        image.src = tab.dataset.image;
        image.alt = tab.dataset.alt;
        title.textContent = tab.dataset.title;
        meta.textContent = tab.dataset.meta;
      };
      tabs.forEach((tab, index) => {
        tab.addEventListener("click", () => select(tab));
        tab.addEventListener("keydown", (event) => {
          if (!["ArrowDown", "ArrowUp", "ArrowRight", "ArrowLeft"].includes(event.key)) return;
          event.preventDefault();
          const step = ["ArrowDown", "ArrowRight"].includes(event.key) ? 1 : -1;
          const next = tabs[(index + step + tabs.length) % tabs.length];
          next.focus();
          select(next);
        });
      });
    });

    document.querySelectorAll("[data-newsletter]").forEach((form) => {
      form.addEventListener("submit", (event) => {
        event.preventDefault();
        form.querySelector("[data-newsletter-success]")?.classList.remove("hidden");
        form.reset();
      });
    });
  </script>
<!-- Optional credit — delete this block if you prefer a clean footer -->
<p class="lt-built-with" style="margin:0;padding:12px 16px;text-align:center;font:500 11px/1.4 system-ui,-apple-system,sans-serif;color:#9ca3af;">Built with <a href="https://letstemplates.com" style="color:#059669;text-decoration:none;">Let's templates</a></p>
</body>
</html>

From this template

Ironvale screenshot Premium

Blog

Ironvale

Unlimited access to all products

Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.

$20 / 3 months or $60 / year
Get Unlimited Access