Free
Gallery
Calmera Gallery
A gallery block extracted from the Calmera template, available in Tailwind CSS.
0
15
A gallery block extracted from the Calmera 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>Calmera Gallery | Tailwind CSS UI Block</title>
<meta name="description" content="A gallery block extracted from the Calmera template, available in Tailwind CSS.">
<meta name="keywords" content="Calmera, Tailwind CSS template, HTML website template, skincare ecommerce, beauty store, clean cosmetics shop, product detail page, responsive online store 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="Calmera | Tailwind CSS Skincare Ecommerce Template">
<meta property="og:description" content="A calm, premium Tailwind CSS skincare ecommerce template for clean beauty brands, serum and moisturizer shops, and wellness boutiques that sell online.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Calmera template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Calmera | Tailwind CSS Skincare Ecommerce Template">
<meta name="twitter:description" content="A calm, premium Tailwind CSS skincare ecommerce template for clean beauty brands, serum and moisturizer shops, and wellness boutiques that sell online.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Calmera 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=Hanken+Grotesk:wght@500;600;700;800&family=Instrument+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
ink: "#24141a",
cocoa: "#33201f",
olive: "#676a54",
cream: "#fcf7f1",
mist: "#cbc4c3",
stone: "#8f8a8a",
line: "#ece7e4",
sale: "#ef4444"
},
fontFamily: {
sans: ["Instrument Sans", "ui-sans-serif", "system-ui", "sans-serif"],
display: ["Hanken Grotesk", "Instrument Sans", "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; } }
@media (prefers-reduced-motion: reduce) {
::view-transition-old(root),
::view-transition-new(root) { animation: none; }
}
.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; }
[data-wishlist][aria-pressed="true"] svg { fill: currentColor; }
[data-carousel-dots] button[aria-current="true"] { background-color: #24141a; }
</style>
</head>
<body class="bg-white font-sans text-ink antialiased overflow-x-hidden">
<!-- block:start gallery -->
<section id="instagram" class="pt-24 lg:pt-[150px]">
<div class="px-5 text-center">
<p class="text-[17px] text-stone lg:text-[20px]">Join us on Instagram</p>
<h2 class="mt-1 font-display text-[40px] font-extrabold tracking-[-0.045em] sm:text-[56px] lg:text-[68px]"><a href="https://instagram.com" target="_blank" rel="noopener" class="hover:text-olive">@calmera.skin</a></h2>
</div>
<div class="mx-auto mt-10 flex max-w-[1400px] items-center justify-center gap-2 overflow-hidden sm:gap-3 lg:mt-12">
<a href="https://instagram.com" target="_blank" rel="noopener" class="block h-[330px] w-[190px] shrink-0 overflow-hidden sm:h-[480px] sm:w-[270px] lg:h-[670px] lg:w-[381px]">
<img src="https://images.unsplash.com/photo-1619451427882-6aaaded0cc61?auto=format&fit=crop&w=800&q=80" alt="Hands smoothing lotion from a white pump bottle" class="h-full w-full object-cover transition duration-700 hover:scale-105" loading="lazy">
</a>
<a href="https://instagram.com" target="_blank" rel="noopener" class="block h-[330px] w-[190px] shrink-0 overflow-hidden sm:h-[480px] sm:w-[270px] lg:h-[670px] lg:w-[381px]">
<img src="https://images.unsplash.com/photo-1585945037805-5fd82c2e60b1?auto=format&fit=crop&w=800&q=80" alt="Swipe of rich white cream on a warm beige surface" class="h-full w-full object-cover transition duration-700 hover:scale-105" loading="lazy">
</a>
<div class="relative flex h-[410px] w-[200px] shrink-0 flex-col overflow-hidden rounded-[30px] bg-black text-white shadow-2xl sm:h-[590px] sm:w-[280px] lg:h-[828px] lg:w-[381px] lg:rounded-[44px]" aria-label="Instagram story preview">
<div class="flex items-center justify-between px-6 pb-2 pt-4 text-[12px] font-semibold lg:px-8 lg:pt-5 lg:text-[15px]">
<span>9:41</span>
<span class="flex items-center gap-1.5 text-[11px] lg:text-[13px]"><i class="fa-solid fa-signal"></i><i class="fa-solid fa-wifi"></i><i class="fa-solid fa-battery-full"></i></span>
</div>
<div class="relative flex-1">
<img src="https://images.unsplash.com/photo-1670201202794-b589d5d7e9da?auto=format&fit=crop&w=800&q=80" alt="Woman smoothing a hydrating sheet mask over her face" class="absolute inset-0 h-full w-full object-cover">
<div class="absolute inset-x-0 top-0 bg-gradient-to-b from-black/50 to-transparent px-3 pb-8 pt-2">
<div class="flex gap-1"><span class="h-0.5 flex-1 rounded bg-white"></span><span class="h-0.5 flex-1 rounded bg-white/40"></span><span class="h-0.5 flex-1 rounded bg-white/40"></span></div>
<div class="mt-3 flex items-center gap-2">
<span class="grid h-8 w-8 place-items-center rounded-full bg-cocoa text-[10px] font-bold ring-2 ring-[#c98f6b] lg:h-10 lg:w-10 lg:text-[11px]">Cm</span>
<span class="leading-tight"><span class="block text-[12px] font-semibold lg:text-[14px]">calmera.skin</span><span class="block text-[10px] text-white/70 lg:text-[11px]">8 hours ago</span></span>
<span class="ml-auto flex items-center gap-3 text-[13px]"><i class="fa-solid fa-ellipsis"></i><i class="fa-solid fa-xmark"></i></span>
</div>
</div>
</div>
<div class="flex items-center gap-2 px-3 pb-6 pt-3 lg:gap-3 lg:px-4 lg:pb-9 lg:pt-4">
<i class="fa-regular fa-comment text-[15px] lg:text-[18px]"></i>
<span class="flex-1 rounded-full border border-white/40 px-3 py-1.5 text-[11px] text-white/70 lg:px-4 lg:py-2.5 lg:text-[13px]">Send message…</span>
<i class="fa-regular fa-heart text-[15px] lg:text-[18px]"></i>
<i class="fa-regular fa-paper-plane text-[15px] lg:text-[18px]"></i>
</div>
<span class="absolute bottom-2 left-1/2 h-1 w-24 -translate-x-1/2 rounded-full bg-white lg:w-32"></span>
</div>
<a href="https://instagram.com" target="_blank" rel="noopener" class="block h-[330px] w-[190px] shrink-0 overflow-hidden sm:h-[480px] sm:w-[270px] lg:h-[670px] lg:w-[381px]">
<img src="https://images.unsplash.com/photo-1536098624746-8b23d2a11cd3?auto=format&fit=crop&w=800&q=80" alt="Man splashing fresh water on his face outdoors" class="h-full w-full object-cover transition duration-700 hover:scale-105" loading="lazy">
</a>
<a href="https://instagram.com" target="_blank" rel="noopener" class="block h-[330px] w-[190px] shrink-0 overflow-hidden sm:h-[480px] sm:w-[270px] lg:h-[670px] lg:w-[381px]">
<img src="https://images.unsplash.com/photo-1573461160327-b450ce3d8e7f?auto=format&fit=crop&w=800&q=80" alt="Golden facial oil dropped from a pipette onto skin" class="h-full w-full object-cover transition duration-700 hover:scale-105" loading="lazy">
</a>
</div>
</section>
<!-- block:end gallery -->
<script>
document.querySelectorAll("[data-menu-toggle], [data-search-toggle]").forEach((button) => {
const panel = document.getElementById(button.getAttribute("aria-controls"));
if (!panel) return;
button.addEventListener("click", () => {
const open = button.getAttribute("aria-expanded") === "true";
button.setAttribute("aria-expanded", String(!open));
panel.classList.toggle("hidden", open);
if (!open) panel.querySelector("input")?.focus();
});
});
(() => {
const items = document.querySelectorAll("[data-reveal]");
const skip = navigator.webdriver || /HeadlessChrome/.test(navigator.userAgent) || !("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-carousel]").forEach((carousel) => {
const track = carousel.querySelector("[data-carousel-track]");
const slides = [...track.children];
const dots = carousel.querySelector("[data-carousel-dots]");
let index = 0;
const perView = () => Math.max(1, Math.round(track.clientWidth / slides[0].clientWidth));
const maxIndex = () => Math.max(0, slides.length - perView());
const render = () => {
track.style.transform = `translateX(-${index * slides[0].clientWidth}px)`;
slides.forEach((slide, i) => slide.setAttribute("aria-hidden", String(i !== index)));
dots?.querySelectorAll("button").forEach((dot, i) => dot.setAttribute("aria-current", String(i === index)));
};
const go = (next) => { const max = maxIndex(); index = next > max ? 0 : next < 0 ? max : next; render(); };
const buildDots = () => {
if (!dots) return;
dots.innerHTML = "";
for (let i = 0; i <= maxIndex(); i++) {
const dot = document.createElement("button");
dot.type = "button";
dot.className = "h-[3px] flex-1 bg-ink/15 transition-colors aria-[current=true]:bg-ink";
dot.setAttribute("aria-label", `Go to review ${i + 1}`);
dot.addEventListener("click", () => go(i));
dots.append(dot);
}
};
carousel.querySelector("[data-carousel-prev]")?.addEventListener("click", () => go(index - 1));
carousel.querySelector("[data-carousel-next]")?.addEventListener("click", () => go(index + 1));
carousel.addEventListener("keydown", (event) => {
if (event.key === "ArrowLeft") go(index - 1);
if (event.key === "ArrowRight") go(index + 1);
});
addEventListener("resize", () => { buildDots(); go(Math.min(index, maxIndex())); });
buildDots();
render();
});
(() => {
const key = "calmera-cart-count";
const badges = document.querySelectorAll("[data-cart-count]");
const read = () => { try { return JSON.parse(localStorage.getItem(key)); } catch (error) { return null; } };
const write = (value) => { try { localStorage.setItem(key, JSON.stringify(value)); } catch (error) {} };
let count = Number(read() ?? badges[0]?.textContent ?? 0);
const paint = () => badges.forEach((badge) => { badge.textContent = count; });
paint();
document.querySelectorAll("[data-add-to-cart]").forEach((button) => {
button.addEventListener("click", () => {
const qty = Number(button.closest("[data-product]")?.querySelector("[data-qty-input]")?.value || 1);
count += qty;
write(count);
paint();
const label = button.querySelector("[data-label]") || button;
const original = label.textContent;
label.textContent = "Added to cart";
button.disabled = true;
setTimeout(() => { label.textContent = original; button.disabled = false; }, 1400);
});
});
})();
document.querySelectorAll("[data-newsletter]").forEach((form) => {
form.addEventListener("submit", (event) => {
event.preventDefault();
const label = form.querySelector("[data-label]");
if (label) label.textContent = "You're on the list";
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>
Premium
E-commerce
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.
Tailwind CSS · HTML download