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

Alpenmoor Features

A features block extracted from the Alpenmoor template, available in Tailwind CSS.

0 11
Alpenmoor Features preview

Download Codebase

Commercial License

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

alpenmoor.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>Alpenmoor Features | Tailwind CSS UI Block</title>
  <meta name="description" content="A features block extracted from the Alpenmoor template, available in Tailwind CSS.">
  <meta name="keywords" content="Alpenmoor, Tailwind CSS template, HTML website template, travel template, boutique hotel, mountain lodge, alpine resort, spa hotel, hotel booking, luxury travel">
  <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="Alpenmoor | Tailwind CSS Travel Template">
  <meta property="og:description" content="An editorial Tailwind CSS mountain hotel template with a booking bar, suite hotspots, a seasonal programme and a day-at-the-lodge light slider.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Alpenmoor template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Alpenmoor | Tailwind CSS Travel Template">
  <meta name="twitter:description" content="An editorial Tailwind CSS mountain hotel template with a booking bar, suite hotspots, a seasonal programme and a day-at-the-lodge light slider.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Alpenmoor 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=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300&family=Jost:wght@300;400;500&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: { night: { DEFAULT: '#14130f', soft: '#1f1d18' }, ivory: { DEFAULT: '#f4efe6', deep: '#e8e0d2' }, brass: { DEFAULT: '#b48a52', deep: '#93703f' }, pine: '#24302a', stone: '#d9d1c4' },
          fontFamily: { serif: ['"Cormorant Garamond"', 'serif'], sans: ['Jost', '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 drift { to { transform: translateX(-50%); } }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .drift { animation: drift 60s linear infinite; }
    .drift-reverse { animation: drift 70s linear infinite reverse; }
    .drift-row:hover .drift, .drift-row:hover .drift-reverse { animation-play-state: paused; }
    .reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--reveal-delay, 0ms); }
    .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
    dialog::backdrop { background: rgba(20, 19, 15, .85); }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .drift, .drift-reverse { animation: none; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body class="bg-ivory font-sans font-light text-night antialiased">
<!-- block:start features -->
  <section class="bg-night text-ivory" data-hotspots>
    <div class="mx-auto grid max-w-7xl gap-12 px-5 py-24 md:px-10 lg:grid-cols-[1fr_2fr] lg:items-center">
      <div>
        <p class="text-xs uppercase tracking-[.4em] text-brass">The Glacier Suite</p>
        <h2 class="mt-5 font-serif text-4xl font-light md:text-6xl">Every detail has a story</h2>
        <p class="mt-6 max-w-sm text-ivory/70">Tap the markers to see where the materials come from. Almost everything in the room was made within a day's walk.</p>
        <div class="mt-10 min-h-[8rem] border-l border-brass pl-6" aria-live="polite">
          <p class="font-serif text-2xl" data-spot-title>Larch panelling</p>
          <p class="mt-2 text-ivory/70" data-spot-text>Reclaimed from a 1890s hay barn two farms down the valley.</p>
        </div>
      </div>
      <div class="relative">
        <img src="https://images.unsplash.com/photo-1578683010236-d716f9a3f461?auto=format&fit=crop&w=1400&h=900&q=80" alt="Suite with a low wooden bed, stone walls and a wide window" class="aspect-[3/2] w-full object-cover">
          <button type="button" data-spot="0" aria-pressed="true" class="group absolute grid h-11 w-11 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full border border-ivory bg-night/40 backdrop-blur transition hover:bg-ivory hover:text-night aria-pressed:bg-brass aria-pressed:text-night aria-pressed:border-brass" style="left: 18%; top: 30%" aria-label="Larch panelling"><i class="fa-solid fa-plus text-sm transition group-aria-pressed:rotate-45" aria-hidden="true"></i></button>
          <button type="button" data-spot="1" aria-pressed="false" class="group absolute grid h-11 w-11 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full border border-ivory bg-night/40 backdrop-blur transition hover:bg-ivory hover:text-night aria-pressed:bg-brass aria-pressed:text-night aria-pressed:border-brass" style="left: 54%; top: 62%" aria-label="Hand-loomed linen"><i class="fa-solid fa-plus text-sm transition group-aria-pressed:rotate-45" aria-hidden="true"></i></button>
          <button type="button" data-spot="2" aria-pressed="false" class="group absolute grid h-11 w-11 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full border border-ivory bg-night/40 backdrop-blur transition hover:bg-ivory hover:text-night aria-pressed:bg-brass aria-pressed:text-night aria-pressed:border-brass" style="left: 78%; top: 24%" aria-label="Panoramic window"><i class="fa-solid fa-plus text-sm transition group-aria-pressed:rotate-45" aria-hidden="true"></i></button>
          <button type="button" data-spot="3" aria-pressed="false" class="group absolute grid h-11 w-11 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full border border-ivory bg-night/40 backdrop-blur transition hover:bg-ivory hover:text-night aria-pressed:bg-brass aria-pressed:text-night aria-pressed:border-brass" style="left: 36%; top: 78%" aria-label="Stone bath"><i class="fa-solid fa-plus text-sm transition group-aria-pressed:rotate-45" aria-hidden="true"></i></button>
      </div>
    </div>
    <script type="application/json" data-spot-data>[{"title":"Larch panelling","text":"Reclaimed from a 1890s hay barn two farms down the valley."},{"title":"Hand-loomed linen","text":"Woven in the next village on looms older than the lodge."},{"title":"Panoramic window","text":"Three metres of glass facing the glacier, heated so it never fogs."},{"title":"Stone bath","text":"Carved from a single block of local gneiss, filled from our spring."}]</script>
  </section>
  <!-- block:end features -->
<script>
    const reducedMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;
    const watchMotion = !reducedMotion && !navigator.webdriver && 'IntersectionObserver' in window;

    document.querySelectorAll('[data-overlay-toggle]').forEach((button) => {
      const menu = document.getElementById(button.getAttribute('aria-controls'));
      const close = () => { menu.classList.add('hidden'); button.setAttribute('aria-expanded', 'false'); document.body.style.overflow = ''; button.focus(); };
      button.addEventListener('click', () => { menu.classList.remove('hidden'); button.setAttribute('aria-expanded', 'true'); document.body.style.overflow = 'hidden'; menu.querySelector('[data-overlay-close]').focus(); });
      menu.querySelector('[data-overlay-close]').addEventListener('click', close);
      document.addEventListener('keydown', (event) => { if (event.key === 'Escape' && !menu.classList.contains('hidden')) close(); });
    });

    document.querySelectorAll('[data-availability]').forEach((form) => {
      const status = document.querySelector('[data-availability-status]');
      form.addEventListener('submit', (event) => {
        event.preventDefault();
        const data = new FormData(form);
        if (!data.get('arrival')) { status.textContent = 'Please choose an arrival date.'; return; }
        const arrival = new Date(data.get('arrival'));
        const leave = new Date(arrival); leave.setDate(arrival.getDate() + Number(data.get('nights')));
        const fmt = (d) => d.toLocaleDateString('en-GB', { day: 'numeric', month: 'short' });
        const free = 2 + ((arrival.getDate() + Number(data.get('nights'))) % 4);
        status.textContent = `${free} suites free for ${data.get('guests')} guests, ${fmt(arrival)} – ${fmt(leave)}. Continue on the booking page to hold one.`;
      });
    });

    document.querySelectorAll('[data-hotspots]').forEach((root) => {
      const data = JSON.parse(root.querySelector('[data-spot-data]').textContent);
      const spots = [...root.querySelectorAll('[data-spot]')];
      spots.forEach((spot) => spot.addEventListener('click', () => {
        spots.forEach((other) => other.setAttribute('aria-pressed', String(other === spot)));
        const item = data[Number(spot.dataset.spot)];
        root.querySelector('[data-spot-title]').textContent = item.title;
        root.querySelector('[data-spot-text]').textContent = item.text;
      }));
    });

    document.querySelectorAll('[data-seasons]').forEach((root) => {
      const tabs = [...root.querySelectorAll('[role="tab"]')];
      const select = (tab, focus) => {
        tabs.forEach((other) => { const on = other === tab; other.setAttribute('aria-selected', String(on)); other.tabIndex = on ? 0 : -1; document.getElementById(other.getAttribute('aria-controls')).hidden = !on; });
        if (focus) tab.focus();
      };
      tabs.forEach((tab, i) => {
        tab.addEventListener('click', () => select(tab));
        tab.addEventListener('keydown', (event) => {
          if (event.key === 'ArrowRight') select(tabs[(i + 1) % tabs.length], true);
          if (event.key === 'ArrowLeft') select(tabs[(i - 1 + tabs.length) % tabs.length], true);
        });
      });
    });

    document.querySelectorAll('[data-day]').forEach((root) => {
      const data = JSON.parse(root.querySelector('[data-day-data]').textContent);
      const range = root.querySelector('[data-day-range]');
      const tint = root.querySelector('[data-day-tint]');
      const update = () => {
        const index = Number(range.value);
        const hour = data[index];
        tint.style.background = hour.tint;
        root.querySelectorAll('[data-day-photo]').forEach((img) => { img.hidden = Number(img.dataset.dayPhoto) !== index; });
        root.querySelector('[data-day-time]').textContent = hour.time;
        root.querySelector('[data-day-title]').textContent = hour.title;
        root.querySelector('[data-day-text]').textContent = hour.text;
      };
      range.addEventListener('input', update);
    });

    document.querySelectorAll('[data-lightbox]').forEach((root) => {
      const data = JSON.parse(root.querySelector('[data-lightbox-data]').textContent);
      const dialog = root.querySelector('[data-lightbox-dialog]');
      let current = 0;
      const show = (index) => {
        current = (index + data.length) % data.length;
        const image = dialog.querySelector('[data-lightbox-image]');
        image.src = `https://images.unsplash.com/photo-${data[current].photo}?auto=format&fit=crop&w=1600&q=80`;
        image.alt = data[current].alt;
        dialog.querySelector('[data-lightbox-caption]').textContent = data[current].alt;
      };
      root.querySelectorAll('[data-lightbox-open]').forEach((button) => button.addEventListener('click', () => { show(Number(button.dataset.lightboxOpen)); dialog.showModal(); }));
      dialog.querySelector('[data-lightbox-prev]').addEventListener('click', () => show(current - 1));
      dialog.querySelector('[data-lightbox-next]').addEventListener('click', () => show(current + 1));
      dialog.addEventListener('click', (event) => { if (event.target === dialog) dialog.close(); });
    });

    document.querySelectorAll('[data-postcard]').forEach((form) => {
      const status = form.querySelector('[data-form-status]');
      form.addEventListener('submit', (event) => {
        event.preventDefault();
        const invalid = [...form.querySelectorAll('[required]')].find((field) => !field.value.trim() || !field.checkValidity());
        if (invalid) { status.textContent = 'Please add your name and a valid email.'; invalid.focus(); return; }
        status.textContent = `Thank you, ${form.querySelector('[name="name"]').value.trim()}. The first postcard arrives with the first snow.`;
        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>

From this template

Alpenmoor screenshot Premium

Travel

Alpenmoor

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