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

Deadwax Hero

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

0 2
Deadwax Hero preview

Descargar el código

Licencia comercial

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

deadwax.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>Deadwax Hero | Tailwind CSS UI Block</title>
  <meta name="description" content="A hero block extracted from the Deadwax template, available in Tailwind CSS.">
  <meta name="keywords" content="Deadwax, Tailwind CSS template, HTML website template, blog template, music magazine website, online journal template, article page design, condensed typography, dark blog design, newsletter signup">
  <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="Deadwax | Tailwind CSS Blog Template">
  <meta property="og:description" content="A black Tailwind CSS blog template for music magazines and writers, with a cover story in giant condensed capitals, a big-type story list, a two-sided mixtape, a filterable journal, article pages and a newsletter form.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Deadwax template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Deadwax | Tailwind CSS Blog Template">
  <meta name="twitter:description" content="A black Tailwind CSS blog template for music magazines and writers, with a cover story in giant condensed capitals, a big-type story list, a two-sided mixtape, a filterable journal, article pages and a newsletter form.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Deadwax 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=Archivo:wght@400;500;600&family=Six+Caps&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            ash: '#8f8f8f',
            coal: '#121212',
            blush: '#e6c3c6'
          },
          fontFamily: {
            sans: ['Archivo', 'sans-serif'],
            tall: ['"Six Caps"', 'Impact', 'sans-serif']
          }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .tall { font-family: "Six Caps", Impact, sans-serif; font-weight: 400; text-transform: uppercase; line-height: .86; letter-spacing: .01em; }
    .lnk { padding-bottom: .25rem; border-bottom: 2px solid transparent; transition: border-color .2s ease, color .2s ease; }
    .lnk:hover, .lnk[aria-current] { border-color: currentColor; }
    .disc { display: inline-block; border-radius: 999px; background: repeating-radial-gradient(circle, #1c1c1c 0 2px, #050505 2px 4px); position: relative; }
    .disc::after { content: ""; position: absolute; inset: 34%; border-radius: 999px; background: #e6c3c6; box-shadow: inset 0 0 0 .18em #e6c3c6, inset 0 0 0 .3em #000; }
    .spin { animation: spin 6s linear infinite; }
    @keyframes spin { 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 38s linear infinite; }
    .marquee:hover .marquee-track { animation-play-state: paused; }
    @keyframes marquee { to { transform: translateX(calc(-100% - 3rem)); } }
    .chip { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: .55rem 1.1rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
    .chip:hover { border-color: #fff; }
    .chip[aria-pressed="true"], input:checked + .chip { background: #e6c3c6; border-color: #e6c3c6; color: #000; }
    input:focus-visible + .chip { outline: 2px solid #fff; outline-offset: 3px; }
    .field { width: 100%; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .4); background: transparent; padding: .9rem 0; font-size: 1.125rem; color: #fff; outline: none; }
    .field::placeholder { color: #8f8f8f; }
    .field:focus { border-color: #e6c3c6; }
    .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; }
    .still .spin, .still .marquee-track { animation: none; }
    @media (prefers-reduced-motion: reduce) { .spin, .marquee-track { animation: none; } .marquee { overflow-x: auto; } html { scroll-behavior: auto; } }
  </style>
</head>
<body class="bg-black font-sans text-white antialiased">
<!-- block:start hero -->
    <section id="top" class="px-6 pb-16 pt-4 md:px-12 md:pb-24 md:pt-8">
      <div class="grid items-center gap-x-10 gap-y-10 lg:grid-cols-12">
        <div class="lg:col-span-6">
          <p class="text-2xl font-medium uppercase leading-none md:text-4xl lg:pl-4">Issue 31<br>The cover story</p>
          <h1 class="tall mt-4 text-[62vw] leading-[.8] sm:text-[52vw] lg:text-[30vw] xl:text-[29vw]"><span class="sr-only">Deadwax, long reads about records. This month: </span>Ossian</h1>
          <p class="mt-8 max-w-md text-lg uppercase leading-snug md:text-xl lg:mt-10 lg:pl-4">Ossian Vale made the loudest record of the year by whispering.</p>
        </div>
        <a href="the-quiet-one.html" class="group block overflow-hidden bg-blush lg:col-span-4" aria-label="Read the cover story, The quiet one">
          <img src="https://images.unsplash.com/photo-1681404141874-633aa2de7c76?auto=format&amp;fit=crop&amp;w=1100&amp;q=80" alt="Portrait of a young man with dark curly hair looking down in warm amber light" class="aspect-[3/5] w-full object-cover transition-transform duration-700 group-hover:scale-105">
        </a>
        <div class="flex items-end justify-between gap-6 lg:col-span-2 lg:h-full lg:flex-col lg:items-start lg:justify-center">
          <a href="the-quiet-one.html" class="tall block text-8xl leading-[.95] transition-colors hover:text-blush md:text-9xl md:leading-[.95] lg:text-[9vw] lg:leading-[.95]">How<br>quiet<br>can<br>it get</a>
          <a href="the-quiet-one.html" class="lnk border-white text-sm font-semibold uppercase tracking-[.16em] lg:mt-8">19 minute read<i class="fa-solid fa-arrow-right ml-3 text-xs" aria-hidden="true"></i></a>
        </div>
      </div>
    </section>
    <!-- block:end hero -->
<script>
    if (navigator.webdriver) document.documentElement.classList.add("still");

    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 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));
    })();

    document.querySelectorAll("[data-tape]").forEach((tape) => {
      const title = tape.querySelector("[data-tape-title]");
      const artist = tape.querySelector("[data-tape-artist]");
      const play = (track) => {
        tape.querySelectorAll("[data-track]").forEach((button) => button.setAttribute("aria-pressed", String(button === track)));
        title.textContent = track.dataset.title;
        artist.textContent = track.dataset.artist;
      };
      tape.addEventListener("click", (event) => {
        const tab = event.target.closest("[data-tape-tab]");
        const track = event.target.closest("[data-track]");
        if (track) play(track);
        if (!tab) return;
        tape.querySelectorAll("[data-tape-tab]").forEach((button) => button.setAttribute("aria-selected", String(button === tab)));
        tape.querySelectorAll("[data-tape-panel]").forEach((panel) => { panel.hidden = panel.dataset.tapePanel !== tab.dataset.tapeTab; });
        play(tape.querySelector(`[data-tape-panel="${tab.dataset.tapeTab}"] [data-track]`));
      });
    });

    document.querySelectorAll("[data-filter]").forEach((root) => {
      const count = root.querySelector("[data-filter-count]");
      const empty = root.querySelector("[data-filter-empty]");
      root.addEventListener("click", (event) => {
        const chip = event.target.closest("[data-filter-chip]");
        if (!chip) return;
        let shown = 0;
        root.querySelectorAll("[data-filter-chip]").forEach((button) => button.setAttribute("aria-pressed", String(button === chip)));
        root.querySelectorAll("[data-kind]").forEach((item) => {
          const match = chip.dataset.filterChip === "all" || item.dataset.kind === chip.dataset.filterChip;
          item.hidden = !match;
          if (match) shown += 1;
        });
        if (count) count.textContent = shown;
        if (empty) empty.hidden = shown > 0;
      });
    });

    document.querySelectorAll("[data-hints]").forEach((root) => {
      const hint = root.querySelector("[data-hint]");
      root.addEventListener("change", (event) => {
        if (event.target.dataset.hintText && hint) hint.textContent = event.target.dataset.hintText;
      });
    });

    document.querySelectorAll("[data-form]").forEach((form) => {
      form.addEventListener("submit", (event) => {
        event.preventDefault();
        const valid = form.checkValidity();
        const error = form.querySelector("[data-form-error]");
        const done = form.querySelector("[data-form-done]");
        if (error) error.hidden = valid;
        if (done) done.hidden = !valid;
        if (valid) form.reset();
      });
    });
  </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

Deadwax screenshot Premium

Blog

Deadwax

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