Gratis
Portada
Pliette Hero
A hero block extracted from the Pliette template, available in Tailwind CSS.
0
10
A hero block extracted from the Pliette 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>Pliette Hero | Tailwind CSS UI Block</title>
<meta name="description" content="A hero block extracted from the Pliette template, available in Tailwind CSS.">
<meta name="keywords" content="Pliette, Tailwind CSS template, HTML website template, education template, dance school template, ballet studio website, class timetable, academy template, art deco design, premium template">
<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="Pliette | Tailwind CSS Education Template">
<meta property="og:description" content="A blush and pine green Tailwind CSS template for dance schools, with a class list, a weekly timetable, teacher flip cards and classes, about and contact pages.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Pliette template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Pliette | Tailwind CSS Education Template">
<meta name="twitter:description" content="A blush and pine green Tailwind CSS template for dance schools, with a class list, a weekly timetable, teacher flip cards and classes, about and contact pages.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Pliette 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=Italiana&family=Jost:wght@300;400;500&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
blush: { DEFAULT: '#fbe9ec', deep: '#f5d6dc' },
pine: { DEFAULT: '#0b3d33', soft: '#3f6259' },
chalk: '#fffaf8',
rose: '#c2586f'
},
fontFamily: {
display: ['Italiana', 'serif'],
sans: ['Jost', 'sans-serif']
}
}
}
}
</script>
<style>
@view-transition { navigation: auto; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.vertical { writing-mode: vertical-rl; }
.stamp-ring { animation: stamp-turn 28s linear infinite; transform-origin: 50% 50%; }
@keyframes stamp-turn { to { transform: rotate(360deg); } }
.marquee { display: flex; overflow: hidden; gap: 3rem; }
.marquee-track { display: flex; flex-shrink: 0; align-items: center; gap: 3rem; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 3rem)); } }
.flip { perspective: 1200px; }
.flip-inner { transition: transform .6s ease; transform-style: preserve-3d; }
.flip-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { transform: rotateY(180deg); }
.flip[aria-pressed="true"] .flip-inner { transform: rotateY(180deg); }
.ticket { -webkit-mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.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) {
.stamp-ring, .marquee-track { animation: none; }
.marquee { overflow-x: auto; }
.flip-inner { transition: none; }
}
</style>
</head>
<body class="bg-blush font-sans text-pine antialiased">
<!-- block:start hero -->
<section id="top" class="relative flex min-h-[44rem] items-center justify-center overflow-hidden md:min-h-screen">
<svg viewBox="0 0 600 600" class="pointer-events-none absolute left-1/2 top-1/2 w-[150vw] max-w-[58rem] -translate-x-1/2 -translate-y-1/2" fill="none" stroke="#fff" stroke-width="1.6" aria-hidden="true">
<ellipse cx="300" cy="300" rx="270" ry="96" transform="rotate(0 300 300)"/>
<ellipse cx="300" cy="300" rx="270" ry="96" transform="rotate(15 300 300)"/>
<ellipse cx="300" cy="300" rx="270" ry="96" transform="rotate(30 300 300)"/>
<ellipse cx="300" cy="300" rx="270" ry="96" transform="rotate(45 300 300)"/>
<ellipse cx="300" cy="300" rx="270" ry="96" transform="rotate(60 300 300)"/>
<ellipse cx="300" cy="300" rx="270" ry="96" transform="rotate(75 300 300)"/>
<ellipse cx="300" cy="300" rx="270" ry="96" transform="rotate(90 300 300)"/>
<ellipse cx="300" cy="300" rx="270" ry="96" transform="rotate(105 300 300)"/>
<ellipse cx="300" cy="300" rx="270" ry="96" transform="rotate(120 300 300)"/>
<ellipse cx="300" cy="300" rx="270" ry="96" transform="rotate(135 300 300)"/>
<ellipse cx="300" cy="300" rx="270" ry="96" transform="rotate(150 300 300)"/>
<ellipse cx="300" cy="300" rx="270" ry="96" transform="rotate(165 300 300)"/>
<circle cx="300" cy="300" r="34"/>
</svg>
<p class="label vertical absolute left-5 top-1/2 hidden -translate-y-1/2 rotate-180 md:left-12 lg:block">Teaching in Porto since 2009</p>
<div class="label vertical absolute right-5 top-1/2 hidden -translate-y-1/2 gap-6 md:right-12 lg:flex">
<a href="contact.html" class="hover:text-rose">Instagram</a>
<a href="contact.html" class="hover:text-rose">YouTube</a>
<a href="contact.html" class="hover:text-rose">Newsletter</a>
</div>
<div class="relative px-6 pt-24 text-center">
<h1 class="font-display text-[17vw] uppercase leading-[0.98] md:text-[11.5vw] 2xl:text-[11rem]">Every body<br>dances</h1>
<p class="mx-auto mt-8 max-w-md text-lg font-light leading-relaxed text-pine-soft">Ballet, contemporary and street classes for four-year-olds, for sixty-year-olds and for everyone who thinks they started too late.</p>
<a href="#timetable" class="label mt-10 inline-flex items-center gap-4 hover:text-rose">Scroll for this week<span class="h-8 w-px bg-current"></span></a>
</div>
</section>
<!-- block:end hero -->
<script>
// Mobile menu
(() => {
const toggle = document.querySelector("[data-menu-toggle]");
const menu = document.getElementById("mobile-menu");
if (!toggle || !menu) return;
toggle.addEventListener("click", () => {
const open = toggle.getAttribute("aria-expanded") === "true";
toggle.setAttribute("aria-expanded", String(!open));
toggle.querySelector("[data-menu-label]").textContent = open ? "Menu" : "Close";
menu.hidden = open;
document.querySelector("header").classList.toggle("bg-chalk", !open);
});
})();
// Age filter for class lists and cards
document.querySelectorAll("[data-filter]").forEach((group) => {
const scope = group.closest("section") || document;
const items = scope.querySelectorAll("[data-category]");
const count = scope.querySelector("[data-filter-count]");
group.querySelectorAll("[data-filter-value]").forEach((button) => {
button.addEventListener("click", () => {
const value = button.dataset.filterValue;
let shown = 0;
group.querySelectorAll("[data-filter-value]").forEach((other) => other.setAttribute("aria-pressed", String(other === button)));
items.forEach((item) => {
item.hidden = value !== "all" && item.dataset.category !== value;
if (!item.hidden) shown++;
});
if (count) count.textContent = shown;
});
});
});
// Timetable day tabs
document.querySelectorAll("[data-tabs]").forEach((root) => {
const tabs = [...root.querySelectorAll("[data-tab]")];
const panels = [...root.querySelectorAll("[data-tab-panel]")];
const select = (tab) => {
tabs.forEach((other) => other.setAttribute("aria-selected", String(other === tab)));
panels.forEach((panel) => {
const active = panel.dataset.tabPanel === tab.dataset.tab;
panel.hidden = !active;
if (!active) return;
const name = root.querySelector("[data-day-name]");
const count = root.querySelector("[data-day-count]");
if (name) name.textContent = panel.dataset.day;
if (count) count.textContent = panel.dataset.count;
});
};
tabs.forEach((tab, index) => {
tab.addEventListener("click", () => select(tab));
tab.addEventListener("keydown", (event) => {
if (event.key !== "ArrowRight" && event.key !== "ArrowLeft") return;
const next = tabs[(index + (event.key === "ArrowRight" ? 1 : tabs.length - 1)) % tabs.length];
next.focus();
select(next);
});
});
});
// Teacher flip cards
document.querySelectorAll("[data-flip]").forEach((card) => {
card.addEventListener("click", () => card.setAttribute("aria-pressed", String(card.getAttribute("aria-pressed") !== "true")));
});
// Scroll reveal
(() => {
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
Educación
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é