Gratis
Contacto
Tallyard Contact
A contact block extracted from the Tallyard template, available in Tailwind CSS.
0
0
A contact block extracted from the Tallyard 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>Tallyard Contact | Tailwind CSS UI Block</title>
<meta name="description" content="A contact block extracted from the Tallyard template, available in Tailwind CSS.">
<meta name="keywords" content="Tallyard, Tailwind CSS template, HTML website template, consulting template, accountant website, bookkeeper website, accounting firm template, fees page, tax deadlines, minimal black and white design">
<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="Tallyard | Tailwind CSS Consulting Template">
<meta property="og:description" content="A black and white Tailwind CSS consulting template for accountants, bookkeepers and small advisory firms, with a hover list of services, a filing-dates finder, fees in tabs, an about page and a contact form.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Tallyard template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Tallyard | Tailwind CSS Consulting Template">
<meta name="twitter:description" content="A black and white Tailwind CSS consulting template for accountants, bookkeepers and small advisory firms, with a hover list of services, a filing-dates finder, fees in tabs, an about page and a contact form.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Tallyard 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=Outfit:wght@300;400;500;600&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
ink: '#0a0a0a',
mist: '#eceef1',
moss: '#5f9e3a',
smoke: '#9a9da2',
slate: '#5b5e63'
},
fontFamily: {
sans: ['Outfit', 'sans-serif']
}
}
}
}
</script>
<style>
@view-transition { navigation: auto; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.side { writing-mode: vertical-rl; }
.under { border-bottom: 1px solid currentColor; padding-bottom: .15rem; transition: color .2s ease; }
.under:hover { color: #5f9e3a; }
.btn { display: inline-flex; align-items: center; gap: .7rem; background: #fff; color: #0a0a0a; padding: .8rem 1.15rem; font-size: .95rem; font-weight: 500; border: 1px solid #fff; transition: background-color .2s ease, color .2s ease; }
.btn:hover { background: transparent; color: #fff; }
.btn-ink { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
.btn-ink:hover { background: transparent; color: #0a0a0a; }
.ring-link { display: inline-flex; align-items: center; gap: .8rem; font-size: .95rem; }
.ring-link span:first-child { display: grid; place-items: center; height: 1.6rem; width: 1.6rem; border: 1.5px solid currentColor; border-radius: 999px; font-size: .5rem; transition: background-color .2s ease, color .2s ease; }
.ring-link:hover span:first-child { background: #5f9e3a; border-color: #5f9e3a; color: #fff; }
.field { width: 100%; border: 0; border-bottom: 1px solid #0a0a0a; background: transparent; padding: .65rem 0; font-size: 1.05rem; font-weight: 300; color: #0a0a0a; outline: none; border-radius: 0; }
.field:focus { border-color: #5f9e3a; }
.chip { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid currentColor; padding: .55rem 1rem; font-size: .95rem; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
input:checked + .chip, .chip[aria-selected="true"] { background: #fff; color: #0a0a0a; border-color: #fff; }
.chip-ink[aria-selected="true"], input:checked + .chip-ink { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
input:focus-visible + .chip { outline: 2px solid #5f9e3a; outline-offset: 3px; }
.month { border-top: 1px solid rgba(255, 255, 255, .25); padding-top: .7rem; color: #9a9da2; transition: color .2s ease, border-color .2s ease; }
.month::before { content: ""; display: block; height: .55rem; width: .55rem; border-radius: 999px; background: transparent; margin-bottom: .6rem; transition: background-color .2s ease; }
.month.is-due { color: #fff; border-color: #fff; }
.month.is-due::before { background: #5f9e3a; }
.service-row { color: #9a9da2; transition: color .2s ease; }
.service-row:hover, .service-row:focus-visible, .service-row.is-on { color: #0a0a0a; }
.marquee { display: flex; overflow: hidden; gap: 1.5rem; }
.marquee-track { display: flex; gap: 1.5rem; flex-shrink: 0; animation: marquee 60s linear infinite; }
.marquee[data-reverse] .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 1.5rem)); } }
.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) { .marquee { overflow-x: auto; } .marquee-track { animation: none; } html { scroll-behavior: auto; } }
</style>
</head>
<body class="bg-white font-sans font-light text-ink antialiased">
<!-- block:start contact -->
<section id="call" class="relative bg-ink">
<img src="https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1800&q=80" alt="Bright office with a laptop on a long white table, tall plants and a view over the city" class="h-72 w-full object-cover md:absolute md:inset-0 md:h-full">
<div class="relative px-6 py-10 md:px-12 md:py-24">
<div class="bg-white p-8 md:ml-auto md:max-w-lg md:p-12">
<p class="text-slate">A first call is free</p>
<h2 class="mt-4 text-3xl leading-snug md:text-4xl">Tell us what you need off your desk</h2>
<form data-form novalidate class="mt-8 grid gap-6">
<label>
<span class="text-sm text-slate">Your name</span>
<input type="text" name="name" required autocomplete="name" class="field">
</label>
<label>
<span class="text-sm text-slate">Phone or email</span>
<input type="text" name="contact" required class="field">
</label>
<label>
<span class="text-sm text-slate">What would help most?</span>
<select name="topic" class="field">
<option>Bookkeeping</option>
<option>Payroll</option>
<option>Tax returns</option>
<option>Year-end accounts</option>
<option>All of it</option>
</select>
</label>
<div>
<button type="submit" class="btn btn-ink">Ask for a call back<i class="fa-solid fa-arrow-right text-xs" aria-hidden="true"></i></button>
<p data-form-error hidden class="mt-4 font-normal text-red-700">Please add your name and a way to reach you.</p>
<p data-form-done hidden role="status" class="mt-4 font-normal">Thank you. We will ring or write back within one working day.</p>
</div>
</form>
<p class="mt-8 border-t border-ink/20 pt-6 text-slate">Or ring <a href="tel:+441174960382" class="under text-ink">0117 496 0382</a>, Monday to Friday, 8.30 to 5.30.</p>
</div>
</div>
</section>
<!-- block:end contact -->
<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));
})();
document.querySelectorAll("[data-hover-list]").forEach((root) => {
const show = (item) => {
root.querySelectorAll("[data-hover-item]").forEach((row) => row.classList.toggle("is-on", row === item));
root.querySelectorAll("[data-hover-image]").forEach((image) => { image.hidden = image.dataset.hoverImage !== item.dataset.hoverItem; });
};
root.querySelectorAll("[data-hover-item]").forEach((item) => {
item.addEventListener("mouseenter", () => show(item));
item.addEventListener("focus", () => show(item));
});
});
document.querySelectorAll("[data-due]").forEach((root) => {
const update = () => {
const kind = root.querySelector("[name=due-kind]:checked").value;
const needs = [...root.querySelectorAll("[name=due-need]:checked")].map((box) => box.value);
const due = new Set();
let count = 0;
root.querySelectorAll("[data-due-row]").forEach((row) => {
const match = row.dataset.kinds.split(" ").includes(kind) && (!row.dataset.needs || needs.includes(row.dataset.needs));
row.hidden = !match;
if (!match) return;
count += Number(row.dataset.count);
row.dataset.months.split(" ").forEach((month) => due.add(month));
});
root.querySelectorAll("[data-due-month]").forEach((month) => month.classList.toggle("is-due", due.has(month.dataset.dueMonth)));
root.querySelector("[data-due-count]").textContent = count;
};
root.addEventListener("change", update);
});
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>
<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>
Servicios profesionales
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.
Tailwind CSS · HTML download
Si no empieza, haz clic aquí.
¿Te gustan nuestras plantillas gratis?
Una pequeña propina nos ayuda a seguir añadiendo nuevas cada semana.
Invítanos a un café