Desbloquea todos los bloques y plantillas premium con All-Access desde 20 € / 3 meses, cancela cuando quieras. Consigue All-Access
Todos los bloques
Gratis Portada

MindPlay Hero

A hero block extracted from the MindPlay template, available in Tailwind CSS.

0 110
MindPlay Hero preview

Descargar el código

Licencia comercial

Descarga gratis · hasta 5 bloques al día. Ilimitado con All-Access

mindplay.html
<!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>MindPlay Hero | Tailwind CSS UI Block</title>
    <meta name="description" content="A hero block extracted from the MindPlay template, available in Tailwind CSS.">
    <meta name="keywords" content="MindPlay, Tailwind CSS template, HTML website template, kids education template, school landing page, learning games, responsive education 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="MindPlay | Tailwind CSS Kids Education Template">
    <meta property="og:description" content="A playful Tailwind CSS education website template for children&#39;s activities, learning games, creative exercises, and school programs.">
    <meta property="og:image" content="">
    <meta property="og:image:alt" content="MindPlay template preview">

    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:url" content="">
    <meta name="twitter:title" content="MindPlay | Tailwind CSS Kids Education Template">
    <meta name="twitter:description" content="A playful Tailwind CSS education website template for children&#39;s activities, learning games, creative exercises, and school programs.">
    <meta name="twitter:image" content="">
    <meta name="twitter:image:alt" content="MindPlay template preview">
<!-- Scripts & Styles -->
    <script src="https://cdn.tailwindcss.com/3.4.17"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
    
    <!-- Fonts -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">

    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#7c3aed',
                        secondary: '#fb923c',
                        accent: '#fbbf24',
                        dark: '#1e1b4b'
                    },
                    fontFamily: {
                        sans: ['Outfit', 'sans-serif'],
                    },
                    borderRadius: {
                        '4xl': '2rem',
                        '5xl': '3rem',
                    }
                }
            }
        }
    </script>

    <style>
        .squiggle-bg {
            background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 50 Q 25 25 40 50 T 70 50 T 100 50' stroke='%237c3aed' stroke-width='2' fill='none' opacity='0.1'/%3E%3C/svg%3E");
        }
        .marquee {
            display: flex;
            overflow: hidden;
            user-select: none;
            gap: 2rem;
        }
        .marquee-content {
            flex-shrink: 0;
            display: flex;
            justify-content: space-around;
            gap: 2rem;
            min-width: 100%;
            animation: scroll 30s linear infinite;
        }
        @keyframes scroll {
            from { transform: translateX(0); }
            to { transform: translateX(-100%); }
        }
        [hidden] { display: none !important; }
        .mp-mobile-nav:not([hidden]) {
            display: flex;
        }
        @media (min-width: 1024px) {
            .mp-mobile-nav,
            .mp-mobile-nav:not([hidden]) { display: none !important; }
        }
        .mp-nav-link.is-active {
            color: #7c3aed !important;
            background: rgba(124, 58, 237, 0.1) !important;
        }
    </style>
</head>
<body class="bg-[#fdfcfd] text-dark overflow-x-hidden">
<!-- block:start hero -->
    <section id="hero" class="relative pt-32 pb-20 overflow-hidden">
        <div class="absolute top-20 right-20 text-accent opacity-20 rotate-12">
            <i class="fa-solid fa-sun text-9xl"></i>
        </div>
        <div class="absolute top-40 left-10 text-primary opacity-10">
            <i class="fa-solid fa-star text-4xl"></i>
        </div>

        <div class="max-w-7xl mx-auto px-6 text-center relative z-10">
            <span class="text-secondary font-extrabold text-xs uppercase tracking-[0.3em] mb-6 block">Power of Play</span>
            <h1 class="text-5xl md:text-7xl font-extrabold mb-8 leading-tight">
                Unlock the Secrets of<br>
                <span class="text-primary relative">
                    Fun Education
                    <svg class="absolute -bottom-2 left-0 w-full h-3 text-accent" viewBox="0 0 100 10" preserveAspectRatio="none">
                        <path d="M0 5 Q 25 0 50 5 T 100 5" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"/>
                    </svg>
                </span>
            </h1>
            <p class="text-gray-500 text-lg md:text-xl font-medium max-w-2xl mx-auto mb-10">
                From hands-on science experiments to creative arts and crafts, these engaging ideas help boost your child's skills while sparking curiosity.
            </p>
            
            <div class="flex flex-col sm:flex-row items-center justify-center gap-6">
                <button class="bg-primary text-white px-8 py-4 rounded-3xl font-bold shadow-xl shadow-primary/20 flex items-center gap-3 group">
                    Learn More 
                    <div class="w-6 h-6 bg-white/20 rounded-full flex items-center justify-center group-hover:translate-x-1 transition">
                        <i class="fa-solid fa-arrow-right text-[10px]"></i>
                    </div>
                </button>
                
                <div class="flex items-center gap-4 bg-white p-2 pr-6 rounded-3xl shadow-sm border border-gray-100">
                    <div class="flex -space-x-3">
                        <img class="w-10 h-10 rounded-full border-2 border-white" src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-1.jpg" alt="child">
                        <img class="w-10 h-10 rounded-full border-2 border-white" src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-2.jpg" alt="child">
                        <img class="w-10 h-10 rounded-full border-2 border-white" src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-5.jpg" alt="child">
                    </div>
                    <span class="text-sm font-bold text-gray-700">Happy Kids</span>
                </div>
            </div>
        </div>
    </section>
    <!-- block:end hero -->
<script>
      (function () {
        var links = document.querySelectorAll("[data-nav-link]");
        var menuButton = document.getElementById("mp-menu-button");
        var mobileNav = document.getElementById("mp-mobile-nav");

        function setActive(href) {
          links.forEach(function (link) {
            var isActive = link.getAttribute("href") === href;
            link.classList.toggle("is-active", isActive);
            if (isActive) {
              link.setAttribute("aria-current", "page");
            } else {
              link.removeAttribute("aria-current");
            }
          });
        }

        links.forEach(function (link) {
          link.addEventListener("click", function () {
            setActive(link.getAttribute("href"));
          });
        });

        function setMenuOpen(open) {
          if (!menuButton || !mobileNav) return;
          mobileNav.hidden = !open;
          menuButton.setAttribute("aria-expanded", String(open));
          menuButton.setAttribute("aria-label", open ? "Close navigation menu" : "Open navigation menu");
        }

        if (menuButton && mobileNav) {
          menuButton.addEventListener("click", function () {
            setMenuOpen(mobileNav.hidden);
          });
          mobileNav.querySelectorAll("a, button").forEach(function (item) {
            item.addEventListener("click", function () { setMenuOpen(false); });
          });
          document.addEventListener("click", function (event) {
            if (!menuButton.contains(event.target) && !mobileNav.contains(event.target)) {
              setMenuOpen(false);
            }
          });
          document.addEventListener("keydown", function (event) {
            if (event.key === "Escape") setMenuOpen(false);
          });
          window.addEventListener("resize", function () {
            if (window.innerWidth >= 1024) setMenuOpen(false);
          });
        }
      })();
    </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>

De esta plantilla

MindPlay screenshot Premium

Educación

MindPlay

Acceso ilimitado a todos los productos

Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.

20 € / 3 meses o 60 € / año
Conseguir acceso ilimitado