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

Quoin Call to action

A call to action block extracted from the Quoin template, available in Tailwind CSS.

0 12
Quoin Call to action preview
quoin.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>Quoin Call to action | Tailwind CSS UI Block</title>
  <meta name="description" content="A call to action block extracted from the Quoin template, available in Tailwind CSS.">
  <meta name="keywords" content="Quoin, Tailwind CSS template, HTML website template, architecture studio template, architect portfolio website, property developer template, project case study page, real estate development, portfolio 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="Quoin | Tailwind CSS Portfolio Template">
  <meta property="og:description" content="A quiet Tailwind CSS template for architecture studios and property developers, with a washed full-bleed building photo, a slide-in project index, a material switcher, a filtered project list and a case study page.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Quoin template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Quoin | Tailwind CSS Portfolio Template">
  <meta name="twitter:description" content="A quiet Tailwind CSS template for architecture studios and property developers, with a washed full-bleed building photo, a slide-in project index, a material switcher, a filtered project list and a case study page.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Quoin 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=DM+Sans:wght@400;500&family=Josefin+Sans:wght@200;300;400&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            slate: { DEFAULT: '#3a3d3f', deep: '#26282a' },
            oxide: { DEFAULT: '#a6492f', deep: '#863823' },
            paper: { DEFAULT: '#ffffff', warm: '#f3efea' },
            line: '#ddd7ce',
            ink: { DEFAULT: '#1c1b1a', soft: '#4a4744', mute: '#6b6763' }
          },
          fontFamily: {
            display: ['"Josefin Sans"', 'sans-serif'],
            sans: ['"DM Sans"', 'sans-serif']
          }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .caps { font-family: "Josefin Sans", sans-serif; font-weight: 300; text-transform: uppercase; letter-spacing: .02em; line-height: 1.02; }
    .giant { font-family: "Josefin Sans", sans-serif; font-weight: 200; text-transform: uppercase; line-height: .92; letter-spacing: -.01em; }
    .label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
    .washed { position: relative; isolation: isolate; overflow: hidden; background: #26282a; }
    .washed > img { position: absolute; inset: 0; z-index: -2; height: 100%; width: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
    .washed::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wash, #3a3d3f); opacity: .82; mix-blend-mode: multiply; transition: background-color .6s ease; }
    .panel { transform: translateX(100%); transition: transform .5s cubic-bezier(.2, .7, .2, 1); visibility: hidden; }
    .panel.is-open { transform: none; visibility: visible; }
    .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) { .panel, .washed::after { transition: none; } }
  </style>
</head>
<body class="bg-paper font-sans text-ink antialiased">
<!-- block:start cta -->
  <section class="px-5 py-24 text-center md:px-10 md:py-40">
    <p class="label text-ink-mute" data-reveal>Have a site, a building or half an idea?</p>
    <h2 class="giant mx-auto mt-8 max-w-5xl text-[clamp(2.6rem,9vw,8.5rem)]" data-reveal>Start with a walk round it</h2>
    <a href="contact.html" class="mt-12 inline-flex items-center gap-4 bg-ink px-9 py-5 font-display text-lg uppercase tracking-wide text-white transition hover:bg-oxide" data-reveal>Book a site visit <i class="fa-solid fa-arrow-right"></i></a>
  </section>
  <!-- block:end cta -->
<script>
    (() => {
      const panel = document.getElementById("project-index");
      const toggle = document.querySelector("[data-menu-toggle]");
      const backdrop = document.querySelector("[data-menu-backdrop]");
      if (!panel || !toggle) return;
      const setOpen = (open) => {
        toggle.setAttribute("aria-expanded", String(open));
        panel.classList.toggle("is-open", open);
        if (backdrop) backdrop.hidden = !open;
        document.body.style.overflow = open ? "hidden" : "";
        if (open) panel.querySelector("[data-menu-close]")?.focus(); else toggle.focus();
      };
      toggle.addEventListener("click", () => setOpen(toggle.getAttribute("aria-expanded") !== "true"));
      panel.querySelector("[data-menu-close]")?.addEventListener("click", () => setOpen(false));
      backdrop?.addEventListener("click", () => setOpen(false));
      document.addEventListener("keydown", (event) => { if (event.key === "Escape" && toggle.getAttribute("aria-expanded") === "true") setOpen(false); });
    })();

    document.querySelectorAll("[data-wash]").forEach((root) => {
      root.addEventListener("click", (event) => {
        const chip = event.target.closest("[data-wash-chip]");
        if (!chip) return;
        root.querySelectorAll("[data-wash-chip]").forEach((other) => other.setAttribute("aria-checked", String(other === chip)));
        root.querySelectorAll("[data-wash-panel]").forEach((panel) => { panel.hidden = panel.dataset.washPanel !== chip.dataset.washChip; });
        root.style.setProperty("--wash", chip.dataset.washColour);
      });
    });

    document.querySelectorAll("[data-timeline]").forEach((timeline) => {
      const update = () => {
        const box = timeline.getBoundingClientRect();
        const fill = Math.min(1, Math.max(0, (innerHeight * 0.6 - box.top) / box.height));
        timeline.style.setProperty("--fill", fill.toFixed(3));
      };
      addEventListener("scroll", update, { passive: true });
      addEventListener("resize", update);
      update();
    });

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

Quoin screenshot

Portfolio

Quoin

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