Gratis
Proceso
Oleandra Process
A process block extracted from the Oleandra template, available in Tailwind CSS.
0
7
A process block extracted from the Oleandra 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>Oleandra Process | Tailwind CSS UI Block</title>
<meta name="description" content="A process block extracted from the Oleandra template, available in Tailwind CSS.">
<meta name="keywords" content="Oleandra, Tailwind CSS template, HTML website template, ecommerce template, skincare store, natural cosmetics shop, beauty brand website, serum product page, skin quiz, shopping cart">
<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="Oleandra | Tailwind CSS Ecommerce Template">
<meta property="og:description" content="A lush Tailwind CSS ecommerce template for natural skincare, with floating product cards, a ritual builder, an ingredient map and a skin quiz.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Oleandra template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Oleandra | Tailwind CSS Ecommerce Template">
<meta name="twitter:description" content="A lush Tailwind CSS ecommerce template for natural skincare, with floating product cards, a ritual builder, an ingredient map and a skin quiz.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Oleandra template preview">
<script src="https://cdn.tailwindcss.com/3.4.17"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: { forest: { DEFAULT: '#0e3a22', deep: '#0a2c19', soft: '#155232' }, lime: { DEFAULT: '#b9f45e', soft: '#dcfaa8' }, cream: { DEFAULT: '#f2eed6', deep: '#e6e0bd' } },
fontFamily: { sans: ['Inter', 'sans-serif'], serif: ['"Instrument Serif"', '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; }
[hidden] { display: none !important; }
.display { font-family: "Instrument Serif", serif; text-transform: uppercase; letter-spacing: -.02em; line-height: .9; }
.hotspot::after { content: ""; position: absolute; inset: -6px; border-radius: 999px; border: 2px solid #b9f45e; animation: ping 2s ease-out infinite; }
@keyframes ping { 70%, 100% { transform: scale(1.6); 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) {
html { scroll-behavior: auto; }
.hotspot::after { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
</style>
</head>
<body class="bg-forest font-sans text-cream antialiased">
<!-- block:start process -->
<section class="border-y border-white/10">
<ol class="mx-auto grid max-w-[90rem] md:grid-cols-3">
<li class="border-white/10 px-5 py-12 md:px-10 md:border-r border-b md:border-b-0" data-reveal style="--reveal-delay: 0ms">
<div class="flex items-center justify-between"><span class="display text-7xl text-lime">01</span><i class="fa-solid fa-droplet text-3xl" aria-hidden="true"></i></div>
<h3 class="mt-6 font-serif text-4xl">Cleanse</h3>
<p class="mt-3 text-cream/75">Massage the gel cleanser into damp skin for sixty seconds, then rinse warm.</p>
</li>
<li class="border-white/10 px-5 py-12 md:px-10 md:border-r border-b md:border-b-0" data-reveal style="--reveal-delay: 100ms">
<div class="flex items-center justify-between"><span class="display text-7xl text-lime">02</span><i class="fa-solid fa-eye-dropper text-3xl" aria-hidden="true"></i></div>
<h3 class="mt-6 font-serif text-4xl">Treat</h3>
<p class="mt-3 text-cream/75">Press three drops of serum into skin while it's still a little damp.</p>
</li>
<li class="border-white/10 px-5 py-12 md:px-10 " data-reveal style="--reveal-delay: 200ms">
<div class="flex items-center justify-between"><span class="display text-7xl text-lime">03</span><i class="fa-solid fa-leaf text-3xl" aria-hidden="true"></i></div>
<h3 class="mt-6 font-serif text-4xl">Seal</h3>
<p class="mt-3 text-cream/75">Finish with cream or oil to lock it all in — morning and night.</p>
</li>
</ol>
</section>
<!-- block:end process -->
<script>
const reducedMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;
const watchMotion = !reducedMotion && !navigator.webdriver && 'IntersectionObserver' in window;
const bag = { get: () => { try { return Number(localStorage.getItem('oleandra-bag')) || 0; } catch (error) { return 0; } }, add: (n) => { try { localStorage.setItem('oleandra-bag', String(bag.get() + n)); } catch (error) { /* storage unavailable */ } document.querySelectorAll('[data-bag-count]').forEach((el) => { el.textContent = bag.get(); }); } };
document.querySelectorAll('[data-bag-count]').forEach((el) => { el.textContent = bag.get(); });
document.querySelectorAll('[data-menu-toggle]').forEach((button) => {
const menu = document.getElementById(button.getAttribute('aria-controls'));
button.addEventListener('click', () => {
const open = button.getAttribute('aria-expanded') === 'true';
button.setAttribute('aria-expanded', String(!open));
menu.classList.toggle('hidden', open);
});
});
document.querySelectorAll('[data-dropdown]').forEach((root) => {
const toggle = root.querySelector('[data-dropdown-toggle]');
const menu = document.getElementById(toggle.getAttribute('aria-controls'));
const set = (open) => { menu.hidden = !open; toggle.setAttribute('aria-expanded', String(open)); };
toggle.addEventListener('click', () => set(menu.hidden));
document.addEventListener('click', (event) => { if (!root.contains(event.target)) set(false); });
root.addEventListener('keydown', (event) => { if (event.key === 'Escape') { set(false); toggle.focus(); } });
});
document.querySelectorAll('[data-add-bag]').forEach((button) => button.addEventListener('click', () => {
bag.add(1);
const label = button.innerHTML;
button.textContent = 'Added ✓';
setTimeout(() => { button.innerHTML = label; }, 1500);
}));
document.querySelectorAll('[data-builder]').forEach((root) => {
const catalog = {
cleanse: { dry: ['Milk Cleanser', 24], oily: ['Clay Gel Wash', 22], combo: ['Balancing Gel', 22], sensitive: ['Oat Cream Wash', 24] },
treat: { dull: ['Vitamin Glow Serum', 38], lines: ['Night Renewal Serum', 35], breakouts: ['Willow Clear Drops', 32], redness: ['Calm Green Serum', 34] },
seal: { dry: ['Rose Geranium Oil', 85], oily: ['Cloud Water Cream', 42], combo: ['Cloud Water Cream', 42], sensitive: ['Barrier Balm', 39] }
};
const paint = () => {
const skin = root.querySelector('[name="skin"]:checked').value;
const concern = root.querySelector('[name="concern"]:checked').value;
const picks = [catalog.cleanse[skin], catalog.treat[concern], catalog.seal[skin]];
picks.forEach(([name, price], i) => { root.querySelector(`[data-step-name="${i}"]`).textContent = name; root.querySelector(`[data-step-price="${i}"]`).textContent = `$${price}`; });
const full = picks.reduce((sum, [, price]) => sum + price, 0);
root.querySelector('[data-builder-total]').textContent = Math.round(full * 0.85);
root.querySelector('[data-builder-saving]').textContent = `save $${full - Math.round(full * 0.85)}`;
root.querySelector('[data-builder-status]').textContent = '';
};
root.addEventListener('change', paint);
root.querySelector('[data-builder-add]').addEventListener('click', () => { bag.add(3); root.querySelector('[data-builder-status]').textContent = 'Your three-step ritual is in the bag.'; });
paint();
});
document.querySelectorAll('[data-hotspots]').forEach((root) => {
const spots = [...root.querySelectorAll('[data-spot]')];
spots.forEach((spot) => spot.addEventListener('click', () => {
spots.forEach((other) => other.setAttribute('aria-pressed', String(other === spot)));
root.querySelector('[data-spot-name]').textContent = spot.dataset.name;
root.querySelector('[data-spot-text]').textContent = spot.dataset.text;
}));
});
document.querySelectorAll('[data-newsletter]').forEach((form) => {
const status = form.querySelector('[data-form-status]');
form.addEventListener('submit', (event) => {
event.preventDefault();
if (!form.elements.email.checkValidity()) { status.textContent = 'Please enter a valid email address.'; form.elements.email.focus(); return; }
const topics = [...form.querySelectorAll('[name="topics"]:checked')].map((box) => box.value.toLowerCase());
status.textContent = `Welcome! Expect notes on ${topics.join(', ') || 'everything'} — and your 10% code.`;
form.reset();
});
});
if (watchMotion) {
document.documentElement.classList.add('reveal-ready');
const observer = new IntersectionObserver((entries) => entries.forEach((entry) => {
if (entry.isIntersecting) { entry.target.classList.add('is-visible'); observer.unobserve(entry.target); }
}), { threshold: 0.15 });
document.querySelectorAll('[data-reveal]').forEach((el) => observer.observe(el));
}
</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.
Tailwind CSS · HTML download
Si no empieza, haz clic aquí.
¿Te gustan nuestras plantillas gratis?
Una pequeña propina nos ayuda a seguir añadiendo nuevas cada semana.
Invítanos a un café