Free
Gallery
Paceline Gallery
A gallery block extracted from the Paceline template, available in Tailwind CSS.
0
11
A gallery block extracted from the Paceline template, available in Tailwind CSS.
Free download · up to 5 blocks per day. Unlimited with All-Access
<!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>Paceline Gallery | Tailwind CSS UI Block</title>
<meta name="description" content="A gallery block extracted from the Paceline template, available in Tailwind CSS.">
<meta name="keywords" content="Paceline, Tailwind CSS template, HTML website template, running blog, sportswear brand journal, run club website, athletic apparel stories, responsive editorial 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="Paceline | Tailwind CSS Running Blog Template">
<meta property="og:description" content="A clean Tailwind CSS running blog template for sportswear brands, run clubs, and athletic journals sharing race stories, training notes, and gear launches.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Paceline template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Paceline | Tailwind CSS Running Blog Template">
<meta name="twitter:description" content="A clean Tailwind CSS running blog template for sportswear brands, run clubs, and athletic journals sharing race stories, training notes, and gear launches.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Paceline 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 href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
ink: '#111111',
mist: '#6f6f6f',
line: '#e6e6e6',
paper: '#f5f5f3'
},
fontFamily: {
sans: ['Inter', '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; } }
.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; }
}
</style>
</head>
<body class="bg-white font-sans text-ink antialiased">
<!-- block:start gallery -->
<section id="categories" class="mx-auto max-w-[1440px] px-5 pt-14 md:px-10 md:pt-[72px]">
<h2 class="sr-only">Browse by category</h2>
<div class="grid gap-5 md:grid-cols-2">
<a href="collections.html" class="group relative block aspect-[4/3] overflow-hidden bg-ink md:aspect-auto md:h-[380px] lg:h-[448px]" data-reveal style="--reveal-delay: 0ms">
<img src="https://images.unsplash.com/photo-1498581444814-7e44d2fbe0e2?auto=format&fit=crop&w=1200&q=80" alt="Trail runner in a hydration vest climbing a rocky alpine path below snowy peaks" class="absolute inset-0 h-full w-full object-cover object-[center_45%] transition duration-700 group-hover:scale-105">
<span class="absolute inset-0 bg-gradient-to-t from-black/65 via-black/10 to-transparent"></span>
<span class="absolute inset-x-0 bottom-0 flex items-center justify-between gap-4 p-6 md:px-10 md:pb-8">
<span class="text-[30px] font-normal leading-none tracking-[-0.02em] text-white md:text-[38px] lg:text-[44px]">Trail Running</span>
<span class="flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-white text-ink transition duration-300 group-hover:translate-x-1 lg:h-14 lg:w-14"><i class="fa-solid fa-arrow-right text-sm"></i></span>
</span>
</a>
<a href="collections.html" class="group relative block aspect-[4/3] overflow-hidden bg-ink md:aspect-auto md:h-[380px] lg:h-[448px]" data-reveal style="--reveal-delay: 120ms">
<img src="https://images.unsplash.com/photo-1509833903111-9cb142f644e4?auto=format&fit=crop&w=1200&q=80" alt="Woman running along an open road in warm evening light" class="absolute inset-0 h-full w-full object-cover object-[center_40%] transition duration-700 group-hover:scale-105">
<span class="absolute inset-0 bg-gradient-to-t from-black/65 via-black/10 to-transparent"></span>
<span class="absolute inset-x-0 bottom-0 flex items-center justify-between gap-4 p-6 md:px-10 md:pb-8">
<span class="text-[30px] font-normal leading-none tracking-[-0.02em] text-white md:text-[38px] lg:text-[44px]">Road Running</span>
<span class="flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-white text-ink transition duration-300 group-hover:translate-x-1 lg:h-14 lg:w-14"><i class="fa-solid fa-arrow-right text-sm"></i></span>
</span>
</a>
<div class="order-last pt-6 md:order-none md:pt-12">
<p class="text-[13px] uppercase tracking-[0.02em] text-mist">More to explore</p>
<ul class="mt-5 space-y-2 md:mt-6">
<li>
<a href="collections.html" class="group inline-flex items-center gap-4 text-[38px] font-normal leading-[1.3] tracking-[-0.02em] transition hover:text-mist md:text-[44px] lg:text-[48px] lg:leading-[1.42]">
Hiking
<i class="fa-solid fa-arrow-right -translate-x-2 text-lg opacity-0 transition duration-300 group-hover:translate-x-0 group-hover:opacity-100"></i>
</a>
</li>
<li>
<a href="collections.html" class="group inline-flex items-center gap-4 text-[38px] font-normal leading-[1.3] tracking-[-0.02em] transition hover:text-mist md:text-[44px] lg:text-[48px] lg:leading-[1.42]">
Outdoors
<i class="fa-solid fa-arrow-right -translate-x-2 text-lg opacity-0 transition duration-300 group-hover:translate-x-0 group-hover:opacity-100"></i>
</a>
</li>
<li>
<a href="collections.html" class="group inline-flex items-center gap-4 text-[38px] font-normal leading-[1.3] tracking-[-0.02em] transition hover:text-mist md:text-[44px] lg:text-[48px] lg:leading-[1.42]">
Lifestyle
<i class="fa-solid fa-arrow-right -translate-x-2 text-lg opacity-0 transition duration-300 group-hover:translate-x-0 group-hover:opacity-100"></i>
</a>
</li>
<li>
<a href="collections.html" class="group inline-flex items-center gap-4 text-[38px] font-normal leading-[1.3] tracking-[-0.02em] transition hover:text-mist md:text-[44px] lg:text-[48px] lg:leading-[1.42]">
Tennis
<i class="fa-solid fa-arrow-right -translate-x-2 text-lg opacity-0 transition duration-300 group-hover:translate-x-0 group-hover:opacity-100"></i>
</a>
</li>
</ul>
</div>
<a href="collections.html" class="group relative block aspect-[4/3] overflow-hidden bg-ink md:aspect-auto md:h-[380px] lg:h-[448px]" data-reveal style="--reveal-delay: 240ms">
<img src="https://images.unsplash.com/photo-1584464491033-06628f3a6b7b?auto=format&fit=crop&w=1200&q=80" alt="Athlete throwing punches with boxing gloves during a gym training session" class="absolute inset-0 h-full w-full object-cover object-[center_30%] transition duration-700 group-hover:scale-105">
<span class="absolute inset-0 bg-gradient-to-t from-black/65 via-black/10 to-transparent"></span>
<span class="absolute inset-x-0 bottom-0 flex items-center justify-between gap-4 p-6 md:px-10 md:pb-8">
<span class="text-[30px] font-normal leading-none tracking-[-0.02em] text-white md:text-[38px] lg:text-[44px]">Training</span>
<span class="flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-white text-ink transition duration-300 group-hover:translate-x-1 lg:h-14 lg:w-14"><i class="fa-solid fa-arrow-right text-sm"></i></span>
</span>
</a>
</div>
</section>
<!-- block:end gallery -->
<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);
});
});
document.querySelectorAll("[data-search-form]").forEach((form) => {
form.addEventListener("submit", (event) => {
event.preventDefault();
const query = form.querySelector("input").value.trim();
const target = document.querySelector('a[data-slug="stories"]')?.href || "stories.html";
window.location.href = query ? `${target}${target.includes("?") ? "&" : "?"}q=${encodeURIComponent(query)}` : target;
});
});
document.querySelectorAll("[data-newsletter]").forEach((form) => {
form.addEventListener("submit", (event) => {
event.preventDefault();
form.reset();
form.parentElement.querySelector("[data-newsletter-status]")?.classList.remove("hidden");
});
});
(() => {
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));
})();
</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>
Premium
Blog
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.