Unlock every premium block and template with All-Access from $20 / 3 months, cancel anytime. Get All-Access
All blocks
Free Hero

Rebound Hero

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

0 11
Rebound Hero preview

Download Codebase

Commercial License

Free download · up to 5 blocks per day. Unlimited with All-Access

rebound.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>Rebound Hero | Tailwind CSS UI Block</title>
  <meta name="description" content="A hero block extracted from the Rebound template, available in Tailwind CSS.">
  <meta name="keywords" content="Rebound, Tailwind CSS template, HTML website template, marketing agency template, digital marketing, SMM agency, advertising, kinetic typography">
  <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="Rebound | Tailwind CSS Agency Template">
  <meta property="og:description" content="A playful Tailwind CSS marketing agency template with a kinetic typographic hero, service lists, an interactive team switcher and an outline-type contact block.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Rebound template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Rebound | Tailwind CSS Agency Template">
  <meta name="twitter:description" content="A playful Tailwind CSS marketing agency template with a kinetic typographic hero, service lists, an interactive team switcher and an outline-type contact block.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Rebound 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=Fira+Sans+Condensed:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            lilac: '#e2c4fd',
            cream: '#fdf7e6',
            coal: '#232323'
          },
          fontFamily: {
            sans: ['"Fira Sans Condensed"', 'ui-sans-serif', 'system-ui', '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; } }
    @keyframes slide-left { to { transform: translateX(-50%); } }
    @keyframes slide-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .outline-word { color: transparent; -webkit-text-stroke: 2px #232323; }
    .outline-word-light { color: transparent; -webkit-text-stroke: 1.5px #8b8b8b; }
    .type-row { display: flex; width: max-content; gap: .25em; }
    .type-row.left { animation: slide-left 26s linear infinite; }
    .type-row.right { animation: slide-right 26s linear infinite; }
    .tag-list li { border-left: 1.5px solid currentColor; padding-left: .45rem; }
    .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; }
      .type-row.left, .type-row.right { animation: none; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body class="bg-cream font-sans text-coal antialiased">
<!-- block:start hero -->
  <section id="intro" class="overflow-hidden bg-lilac">
    <div class="mx-auto grid max-w-[1440px] lg:grid-cols-[minmax(0,1.6fr)_minmax(0,1fr)]">
      <div class="overflow-hidden py-2 text-[clamp(4rem,9vw,8rem)] font-medium leading-[0.95]" aria-hidden="true">
          <div class="type-row left">
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
          </div>
          <div class="type-row right">
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
          </div>
          <div class="type-row left">
              <span class="font-bold text-coal">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="font-bold text-coal">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="font-bold text-coal">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="font-bold text-coal">Rebound</span>
              <span class="outline-word">Rebound</span>
          </div>
          <div class="type-row right">
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
          </div>
          <div class="type-row left">
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
              <span class="outline-word">Rebound</span>
          </div>
      </div>
      <div class="flex items-end px-6 pb-12 pt-8 lg:pb-14">
        <h1 data-reveal class="text-4xl font-medium leading-tight md:text-5xl">
          <span data-i18n="hero-1"><span class="border-b-2 border-coal font-bold">Catch <i class="fa-solid fa-arrow-left text-3xl" aria-hidden="true"></i></span> the rebound,</span><br>
          <span data-i18n="hero-2">let your brand bounce back.</span>
        </h1>
      </div>
    </div>
  </section>
  <!-- block:end hero -->
<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 strings = {
        es: {
          'nav-index': 'Inicio', 'nav-services': 'Servicios', 'nav-about': 'Nosotros', 'nav-cases': 'Casos', 'nav-contact': 'Contacto',
          'hero-1': '<span class="border-b-2 border-coal font-bold">Atrapa <i class="fa-solid fa-arrow-left text-3xl" aria-hidden="true"></i></span> el rebote,',
          'hero-2': 'y haz que tu marca despegue.',
          'services-title': 'Servicios.', 'about-title': 'Nosotros.', 'team-title': 'Equipo.', 'contact-title': 'Contacto.'
        }
      };
      const nodes = document.querySelectorAll('[data-i18n]');
      nodes.forEach((node) => { node.dataset.i18nEn = node.innerHTML; });
      const apply = (lang) => {
        document.documentElement.lang = lang;
        nodes.forEach((node) => { node.innerHTML = (strings[lang] && strings[lang][node.dataset.i18n]) || node.dataset.i18nEn; });
        document.querySelectorAll('[data-lang]').forEach((button) => button.setAttribute('aria-pressed', String(button.dataset.lang === lang)));
        try { localStorage.setItem('rebound-lang', lang); } catch (error) {}
      };
      document.querySelectorAll('[data-lang]').forEach((button) => button.addEventListener('click', () => apply(button.dataset.lang)));
      let saved = null;
      try { saved = localStorage.getItem('rebound-lang'); } catch (error) {}
      if (saved === 'es') apply('es');
    })();

    document.querySelectorAll('[data-tabs]').forEach((list) => {
      const tabs = list.querySelectorAll('[role="tab"]');
      tabs.forEach((tab, index) => {
        tab.addEventListener('click', () => {
          tabs.forEach((other) => {
            const active = other === tab;
            other.setAttribute('aria-selected', String(active));
            document.getElementById(other.getAttribute('aria-controls')).hidden = !active;
          });
        });
        tab.addEventListener('keydown', (event) => {
          if (!['ArrowDown', 'ArrowUp'].includes(event.key)) return;
          event.preventDefault();
          const next = tabs[(index + (event.key === 'ArrowDown' ? 1 : -1) + tabs.length) % tabs.length];
          next.focus();
          next.click();
        });
      });
    });

    document.querySelectorAll('[data-filter-group]').forEach((group) => {
      const chips = group.querySelectorAll('[data-filter]');
      chips.forEach((chip) => {
        chip.addEventListener('click', () => {
          chips.forEach((other) => {
            const active = other === chip;
            other.setAttribute('aria-pressed', String(active));
            other.classList.toggle('bg-coal', active);
            other.classList.toggle('text-cream', active);
          });
          document.querySelectorAll('[data-filter-item]').forEach((item) => {
            item.hidden = chip.dataset.filter !== 'all' && item.dataset.category !== chip.dataset.filter;
          });
        });
      });
    });

    document.querySelectorAll('[data-contact-form]').forEach((form) => {
      form.addEventListener('submit', (event) => {
        event.preventDefault();
        const status = form.querySelector('[data-form-status]');
        if (!form.checkValidity()) {
          status.textContent = form.dataset.error || 'Please complete the required fields.';
          return;
        }
        status.textContent = form.dataset.success || 'Thanks! We will be in touch soon.';
        form.reset();
      });
    });

    document.querySelectorAll('[data-current-year]').forEach((el) => { el.textContent = new Date().getFullYear(); });

    (() => {
      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>

From this template

Rebound screenshot Premium

Agency

Rebound

Unlimited access to all products

Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.

$20 / 3 months or $60 / year
Get Unlimited Access