Gratis
Productos
Mirelle Products
A products block extracted from the Mirelle template, available in Tailwind CSS.
0
22
A products block extracted from the Mirelle template, available in Tailwind CSS.
Descarga gratis · hasta 5 bloques al día. Ilimitado con 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>Mirelle Products | Tailwind CSS UI Block</title>
<meta name="description" content="A products block extracted from the Mirelle template, available in Tailwind CSS.">
<meta name="keywords" content="Mirelle, Tailwind CSS template, HTML website template, ecommerce template, skincare store, beauty brand, cosmetics shop, serum product page, responsive beauty 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="Mirelle | Tailwind CSS Skincare Ecommerce Template">
<meta property="og:description" content="A bright, condensed-type Tailwind CSS ecommerce template for skincare brands, beauty shops, and cosmetic startups with product sliders, ingredient callouts, and a complete shop and cart flow.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Mirelle template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Mirelle | Tailwind CSS Skincare Ecommerce Template">
<meta name="twitter:description" content="A bright, condensed-type Tailwind CSS ecommerce template for skincare brands, beauty shops, and cosmetic startups with product sliders, ingredient callouts, and a complete shop and cart flow.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Mirelle 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 href="https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
ink: '#0b0b0b',
sky: '#4b8dc8',
sun: '#fff200',
cloud: '#f2f2f2'
},
fontFamily: {
sans: ['Inter', 'ui-sans-serif', 'system-ui', 'sans-serif'],
display: ['Oswald', 'Impact', '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; } }
html { scroll-behavior: smooth; }
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
details > summary::-webkit-details-marker { display: none; }
[data-results-slide] { transition: opacity .5s ease, transform .5s ease; }
.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) {
html { scroll-behavior: auto; }
[data-results-slide] { transition: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
</style>
</head>
<body class="bg-white font-sans text-ink antialiased overflow-x-hidden">
<!-- block:start products -->
<section id="bestsellers" class="bg-white px-5 pb-24 md:px-[5%]">
<div class="mx-auto max-w-[1180px]">
<div class="flex items-end justify-between gap-6">
<h2 class="font-display text-4xl font-bold uppercase leading-none md:text-6xl">Loved by real skin</h2>
<a href="shop.html" class="inline-flex shrink-0 items-center gap-2 border border-ink/20 px-4 py-2 text-[11px] font-semibold uppercase transition hover:border-ink">View all <i class="fa-solid fa-arrow-up rotate-45 text-[9px]"></i></a>
</div>
<div class="mt-10 grid gap-3 sm:grid-cols-2 lg:grid-cols-3">
<article class="group bg-cloud p-2" data-reveal style="--reveal-delay: 0ms">
<a href="calming-ampoule.html" class="block aspect-[4/3.4] overflow-hidden">
<img src="https://images.unsplash.com/photo-1713768704571-6aeb0d0e5105?auto=format&fit=crop&w=900&q=80" alt="Amber dropper bottle of calming ampoule on a warm orange backdrop" loading="lazy" class="h-full w-full object-cover transition duration-700 group-hover:scale-105">
</a>
<div class="px-2 pt-4">
<h3 class="font-display text-lg font-semibold uppercase leading-none"><a href="calming-ampoule.html">Calming Ampoule</a></h3>
<p class="mt-1 text-xs text-ink/60">Soothing daily treatment</p>
</div>
<div class="mt-3 flex items-center justify-between bg-white py-1.5 pl-3 pr-1.5">
<span class="font-display text-lg font-medium">$42.00</span>
<button type="button" data-add-cart class="inline-flex h-9 w-9 items-center justify-center bg-ink text-white transition hover:bg-sky" aria-label="Add Calming Ampoule to cart"><i class="fa-solid fa-cart-shopping text-xs"></i></button>
</div>
</article>
<article class="group bg-cloud p-2" data-reveal style="--reveal-delay: 100ms">
<a href="melt-cleansing-oil.html" class="block aspect-[4/3.4] overflow-hidden">
<img src="https://images.unsplash.com/photo-1741896135512-084b251887f7?auto=format&fit=crop&w=900&q=80" alt="Clear bottle of golden cleansing oil with a dropper on pink" loading="lazy" class="h-full w-full object-cover transition duration-700 group-hover:scale-105">
</a>
<div class="px-2 pt-4">
<h3 class="font-display text-lg font-semibold uppercase leading-none"><a href="melt-cleansing-oil.html">Melt Cleansing Oil</a></h3>
<p class="mt-1 text-xs text-ink/60">Lifts makeup in seconds</p>
</div>
<div class="mt-3 flex items-center justify-between bg-white py-1.5 pl-3 pr-1.5">
<span class="font-display text-lg font-medium">$36.00</span>
<button type="button" data-add-cart class="inline-flex h-9 w-9 items-center justify-center bg-ink text-white transition hover:bg-sky" aria-label="Add Melt Cleansing Oil to cart"><i class="fa-solid fa-cart-shopping text-xs"></i></button>
</div>
</article>
<article class="group bg-cloud p-2" data-reveal style="--reveal-delay: 200ms">
<a href="clarifying-foam.html" class="block aspect-[4/3.4] overflow-hidden">
<img src="https://images.unsplash.com/photo-1616750819574-7e38aa8046fa?auto=format&fit=crop&w=900&q=80" alt="White tube of foaming cleanser on a wet blue surface" loading="lazy" class="h-full w-full object-cover transition duration-700 group-hover:scale-105">
</a>
<div class="px-2 pt-4">
<h3 class="font-display text-lg font-semibold uppercase leading-none"><a href="clarifying-foam.html">Clarifying Foam</a></h3>
<p class="mt-1 text-xs text-ink/60">Gentle pore refresh</p>
</div>
<div class="mt-3 flex items-center justify-between bg-white py-1.5 pl-3 pr-1.5">
<span class="font-display text-lg font-medium">$28.00</span>
<button type="button" data-add-cart class="inline-flex h-9 w-9 items-center justify-center bg-ink text-white transition hover:bg-sky" aria-label="Add Clarifying Foam to cart"><i class="fa-solid fa-cart-shopping text-xs"></i></button>
</div>
</article>
</div>
</div>
</section>
<!-- block:end products -->
<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));
menu.classList.toggle("hidden", open);
});
});
(() => {
const read = () => { try { return Number(localStorage.getItem("mirelle-cart") ?? 2); } catch (e) { return 2; } };
const write = (value) => { try { localStorage.setItem("mirelle-cart", String(value)); } catch (e) {} };
const paint = () => document.querySelectorAll("[data-cart-count]").forEach((el) => { el.textContent = read(); });
window.mirelleCart = { read, write, paint };
paint();
document.addEventListener("click", (event) => {
const add = event.target.closest("[data-add-cart]");
if (add) {
write(read() + 1);
paint();
add.classList.add("bg-sky");
setTimeout(() => add.classList.remove("bg-sky"), 600);
}
const wish = event.target.closest("[data-wish]");
if (wish) {
const saved = wish.getAttribute("aria-pressed") !== "true";
wish.setAttribute("aria-pressed", String(saved));
const icon = wish.querySelector("[data-wish-icon]");
if (icon) { icon.classList.toggle("fa-solid", saved); icon.classList.toggle("fa-regular", !saved); }
}
});
})();
document.querySelectorAll("[data-results]").forEach((carousel) => {
const slides = [...carousel.querySelectorAll("[data-results-slide]")];
const label = carousel.querySelector("[data-results-index]");
let index = 0;
const show = (next) => {
index = (next + slides.length) % slides.length;
slides.forEach((slide, i) => {
const active = i === index;
slide.classList.toggle("opacity-0", !active);
slide.classList.toggle("pointer-events-none", !active);
slide.classList.toggle("scale-95", !active);
slide.classList.toggle("rotate-0", !active);
slide.classList.toggle("-rotate-[12deg]", active);
slide.setAttribute("aria-hidden", String(!active));
});
if (label) label.textContent = index + 1;
};
carousel.querySelector("[data-results-prev]")?.addEventListener("click", () => show(index - 1));
carousel.querySelector("[data-results-next]")?.addEventListener("click", () => show(index + 1));
});
document.querySelectorAll("[data-rail]").forEach((rail) => {
const track = rail.querySelector("[data-rail-track]");
const step = () => (track.firstElementChild?.offsetWidth || 240) + 12;
const move = (direction) => {
const max = track.scrollWidth - track.clientWidth - 4;
if (direction > 0 && track.scrollLeft >= max) return track.scrollTo({ left: 0 });
if (direction < 0 && track.scrollLeft <= 4) return track.scrollTo({ left: track.scrollWidth });
track.scrollBy({ left: direction * step() });
};
rail.querySelector("[data-rail-prev]")?.addEventListener("click", () => move(-1));
rail.querySelector("[data-rail-next]")?.addEventListener("click", () => move(1));
});
document.querySelectorAll("[data-newsletter]").forEach((form) => {
form.addEventListener("submit", (event) => {
event.preventDefault();
const note = form.parentElement.querySelector("[data-newsletter-note]");
if (note) note.hidden = false;
form.reset();
});
});
(() => {
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
Tienda online
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.