Gratis
Llamada a la acción
Kontur Call to action
A call to action block extracted from the Kontur template, available in Tailwind CSS.
0
8
A call to action block extracted from the Kontur template, available in Tailwind CSS.
<!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>Kontur Call to action | Tailwind CSS UI Block</title>
<meta name="description" content="A call to action block extracted from the Kontur template, available in Tailwind CSS.">
<meta name="keywords" content="Kontur, Tailwind CSS template, HTML website template, portfolio template, art director portfolio, designer portfolio, personal website, case study, dark portfolio, free 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="Kontur | Tailwind CSS Portfolio Template">
<meta property="og:description" content="A bold black and white Tailwind CSS portfolio for art directors and designers, with outline type, a project wall, a case study and a contact page.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Kontur template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Kontur | Tailwind CSS Portfolio Template">
<meta name="twitter:description" content="A bold black and white Tailwind CSS portfolio for art directors and designers, with outline type, a project wall, a case study and a contact page.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Kontur 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=Unbounded:wght@500;700;900&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Instrument+Serif:ital@1&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
night: { DEFAULT: '#0a0a0a', soft: '#161616', line: '#2a2a2a' },
chalk: { DEFAULT: '#f4f4f0', dim: '#a3a3a0' },
volt: { DEFAULT: '#d6ff3c', deep: '#b5dc1f' }
},
fontFamily: {
display: ['Unbounded', 'sans-serif'],
sans: ['"DM Sans"', 'sans-serif'],
serif: ['"Instrument Serif"', 'serif']
}
}
}
}
</script>
<style>
@view-transition { navigation: auto; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.outline-type { color: transparent; -webkit-text-stroke: 1.5px #f4f4f0; }
.outline-volt { color: transparent; -webkit-text-stroke: 1.5px #d6ff3c; }
.fill-hover { transition: color .3s ease; }
.fill-hover:hover, .fill-hover:focus-visible { color: #f4f4f0; }
.vertical { writing-mode: vertical-rl; transform: rotate(180deg); }
.marquee-track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.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; }
.cursor-ring { position: fixed; left: 0; top: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 1px solid #f4f4f0; border-radius: 9999px; pointer-events: none; z-index: 60; transition: width .2s, height .2s, margin .2s, background .2s; mix-blend-mode: difference; }
.cursor-ring.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: #f4f4f0; }
dialog::backdrop { background: rgba(10, 10, 10, .9); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
</style>
</head>
<body class="bg-night font-sans text-chalk antialiased">
<!-- block:start cta -->
<section class="overflow-hidden border-t border-night-line py-20 md:py-28">
<a href="contact.html" class="group block" data-cursor>
<div class="marquee-track flex w-max gap-10 whitespace-nowrap font-display text-[clamp(3rem,10vw,9rem)] font-black uppercase leading-none">
<span class="transition group-hover:text-volt">Say hello</span>
<span aria-hidden="true">→</span>
<span class="outline-volt">Say hello</span>
<span aria-hidden="true">→</span>
<span class="transition group-hover:text-volt">Say hello</span>
<span aria-hidden="true">→</span>
<span class="outline-volt">Say hello</span>
<span aria-hidden="true">→</span>
</div>
</a>
<div class="mx-auto mt-12 flex max-w-[1500px] flex-wrap items-center justify-between gap-6 px-6 md:px-16">
<p class="max-w-md text-chalk/70">Booking projects from March. Tell me what you are making and I will reply within two days.</p>
<a href="contact.html" class="rounded-full bg-volt px-7 py-3 text-sm font-bold uppercase tracking-[0.15em] text-night hover:bg-chalk">Start a project</a>
</div>
</section>
<!-- block:end cta -->
<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 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));
})();
(() => {
const ring = document.querySelector("[data-cursor-ring]");
if (!ring || navigator.webdriver || !matchMedia("(pointer: fine)").matches || matchMedia("(prefers-reduced-motion: reduce)").matches) return;
ring.classList.remove("hidden");
document.addEventListener("pointermove", (event) => { ring.style.transform = `translate(${event.clientX}px, ${event.clientY}px)`; });
document.querySelectorAll("a, button, [data-cursor]").forEach((el) => {
el.addEventListener("pointerenter", () => ring.classList.add("is-hover"));
el.addEventListener("pointerleave", () => ring.classList.remove("is-hover"));
});
})();
(() => {
const dialog = document.getElementById("lightbox");
if (!dialog || !dialog.showModal) return;
const img = dialog.querySelector("[data-lightbox-img]");
const title = dialog.querySelector("[data-lightbox-title]");
document.querySelectorAll("[data-lightbox]").forEach((button) => {
button.addEventListener("click", () => {
img.src = button.dataset.src;
img.alt = button.querySelector("img")?.alt || "";
title.innerHTML = button.dataset.title;
dialog.showModal();
});
});
dialog.querySelector("[data-lightbox-close]")?.addEventListener("click", () => dialog.close());
dialog.addEventListener("click", (event) => { if (event.target === dialog) dialog.close(); });
})();
</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>
Portfolio
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.