Gratis
Demo
Fieldmark Demo
A demo block extracted from the Fieldmark template, available in Tailwind CSS.
0
18
A demo block extracted from the Fieldmark template, available in Tailwind CSS.
Descarga gratis · hasta 5 bloques al día. Ilimitado con All-Access
<!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>Fieldmark Demo | Tailwind CSS UI Block</title>
<meta name="description" content="A demo block extracted from the Fieldmark template, available in Tailwind CSS.">
<meta name="keywords" content="Fieldmark, Tailwind CSS template, HTML website template, business template, land marketplace, real estate website, property listings template, farmland for sale, parcel map, realtor website">
<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="Fieldmark | Tailwind CSS Business Template">
<meta property="og:description" content="A fresh Tailwind CSS business template for land and property marketplaces, with an interactive parcel map, masonry listings and flip-card agents.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Fieldmark template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Fieldmark | Tailwind CSS Business Template">
<meta name="twitter:description" content="A fresh Tailwind CSS business template for land and property marketplaces, with an interactive parcel map, masonry listings and flip-card agents.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Fieldmark 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=Familjen+Grotesk:wght@500;600;700&family=Figtree:wght@400;500;600&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: { lime: { DEFAULT: '#cfe97a', soft: '#e9f5c4' }, moss: { DEFAULT: '#1d4a1f', light: '#2f6b31' }, ink: '#151515', cloud: '#f4f5ef' },
fontFamily: { sans: ['Figtree', 'sans-serif'], display: ['"Familjen Grotesk"', '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; } }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.slant-photo { clip-path: polygon(0 100%, 0 46%, 34% 0, 100% 0, 100% 100%); }
@media (max-width: 1023px) { .slant-photo { clip-path: polygon(0 100%, 0 18%, 18% 0, 100% 0, 100% 100%); } }
.float-a { animation: float 6s ease-in-out infinite; }
.float-b { animation: float 7.5s ease-in-out infinite reverse; }
@keyframes float { 50% { translate: 0 -8px; } }
.tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.parcel { transition: opacity .3s ease, filter .3s ease; cursor: pointer; }
.parcel:hover, .parcel:focus-visible { filter: brightness(1.08); outline: none; }
.parcel[aria-pressed="true"] { stroke: #151515; stroke-width: 3; }
.parcel.is-dim { opacity: .2; }
.flip { perspective: 1200px; }
.flip-inner { transition: transform .6s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.flip[aria-pressed="true"] .flip-inner, .flip:hover .flip-inner { transform: rotateY(180deg); }
.flip-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { transform: rotateY(180deg); }
.bubble-in { animation: bubble .4s ease both; }
@keyframes bubble { from { opacity: 0; transform: translateY(8px); } }
.stamp { background: radial-gradient(circle at 4px 4px, transparent 3px, #cfe97a 3.5px) -4px -4px / 12px 12px; }
.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) {
html { scroll-behavior: auto; }
.float-a, .float-b, .bubble-in { animation: none; }
.flip-inner, .parcel { transition: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
</style>
</head>
<body class="bg-white font-sans text-ink antialiased">
<!-- block:start demo -->
<section id="map" class="bg-cloud" data-parcel-map>
<div class="mx-auto max-w-7xl px-5 py-24 md:px-10">
<div class="flex flex-wrap items-end justify-between gap-6">
<div>
<p class="font-semibold text-moss">Parcel map</p>
<h2 class="mt-2 max-w-xl font-display text-5xl font-bold leading-tight tracking-tight md:text-6xl">Tap a plot, see the facts.</h2>
</div>
<div class="flex flex-wrap gap-2" role="group" aria-label="Filter by sector">
<button type="button" data-sector-filter="all" aria-pressed="true" class="rounded-full border border-ink/15 bg-white px-4 py-2 text-sm font-semibold transition hover:border-ink aria-pressed:border-ink aria-pressed:bg-ink aria-pressed:text-white">All</button>
<button type="button" data-sector-filter="agro" aria-pressed="false" class="flex items-center gap-2 rounded-full border border-ink/15 bg-white px-4 py-2 text-sm font-semibold transition hover:border-ink aria-pressed:border-ink aria-pressed:bg-ink aria-pressed:text-white"><span class="h-3 w-3 rounded-full" style="background: #cfe97a" aria-hidden="true"></span>Agro</button>
<button type="button" data-sector-filter="residential" aria-pressed="false" class="flex items-center gap-2 rounded-full border border-ink/15 bg-white px-4 py-2 text-sm font-semibold transition hover:border-ink aria-pressed:border-ink aria-pressed:bg-ink aria-pressed:text-white"><span class="h-3 w-3 rounded-full" style="background: #f4d58d" aria-hidden="true"></span>Residential</button>
<button type="button" data-sector-filter="commercial" aria-pressed="false" class="flex items-center gap-2 rounded-full border border-ink/15 bg-white px-4 py-2 text-sm font-semibold transition hover:border-ink aria-pressed:border-ink aria-pressed:bg-ink aria-pressed:text-white"><span class="h-3 w-3 rounded-full" style="background: #9cc5f0" aria-hidden="true"></span>Commercial</button>
<button type="button" data-sector-filter="green" aria-pressed="false" class="flex items-center gap-2 rounded-full border border-ink/15 bg-white px-4 py-2 text-sm font-semibold transition hover:border-ink aria-pressed:border-ink aria-pressed:bg-ink aria-pressed:text-white"><span class="h-3 w-3 rounded-full" style="background: #2f6b31" aria-hidden="true"></span>Green</button>
</div>
</div>
<div class="mt-10 grid gap-6 lg:grid-cols-[1.6fr_1fr]">
<div class="overflow-hidden rounded-[2rem] border border-ink/10 bg-[#eef3e1] p-3">
<svg viewBox="0 0 610 400" class="h-auto w-full" role="group" aria-label="Map of plots for sale">
<path d="M0 200 C120 190 160 210 300 205 S520 190 610 200" stroke="#fff" stroke-width="14" fill="none" aria-hidden="true"/>
<path d="M300 0 C290 120 320 260 290 400" stroke="#fff" stroke-width="10" fill="none" aria-hidden="true"/>
<path d="M0 120 C80 140 120 100 200 130 S330 90 400 120" stroke="#9cc5f0" stroke-width="6" fill="none" opacity=".7" aria-hidden="true"/>
<path d="M40 60 L210 40 L230 160 L60 190 Z" class="parcel" fill="#cfe97a" stroke="#fff" stroke-width="2" tabindex="0" role="button" aria-label="Willow Creek Ranch, 79.4 acres" aria-pressed="true" data-parcel="willow" data-sector="agro" data-name="Willow Creek Ranch" data-acres="79.4" data-price="$412,000" data-zoning="Agricultural · irrigation rights" data-sector-label="Agro"/>
<path d="M240 30 L420 20 L440 130 L250 150 Z" class="parcel" fill="#2f6b31" stroke="#fff" stroke-width="2" tabindex="0" role="button" aria-label="Pine Ridge Reserve, 120.0 acres" aria-pressed="false" data-parcel="pine" data-sector="green" data-name="Pine Ridge Reserve" data-acres="120.0" data-price="$298,000" data-zoning="Conservation easement" data-sector-label="Green"/>
<path d="M450 40 L570 50 L560 170 L460 150 Z" class="parcel" fill="#f4d58d" stroke="#fff" stroke-width="2" tabindex="0" role="button" aria-label="Mesa View Lots, 6.2 acres" aria-pressed="false" data-parcel="mesa" data-sector="residential" data-name="Mesa View Lots" data-acres="6.2" data-price="$84,500" data-zoning="Residential R-1 · 4 lots" data-sector-label="Residential"/>
<path d="M60 210 L230 180 L250 300 L80 330 Z" class="parcel" fill="#9cc5f0" stroke="#fff" stroke-width="2" tabindex="0" role="button" aria-label="Highway 50 Frontage, 12.8 acres" aria-pressed="false" data-parcel="highway" data-sector="commercial" data-name="Highway 50 Frontage" data-acres="12.8" data-price="$640,000" data-zoning="Commercial C-2 · road frontage" data-sector-label="Commercial"/>
<path d="M260 170 L440 150 L460 280 L270 300 Z" class="parcel" fill="#cfe97a" stroke="#fff" stroke-width="2" tabindex="0" role="button" aria-label="Sunrise Wheat Fields, 210.5 acres" aria-pressed="false" data-parcel="sunrise" data-sector="agro" data-name="Sunrise Wheat Fields" data-acres="210.5" data-price="$988,000" data-zoning="Agricultural · dry farm" data-sector-label="Agro"/>
<path d="M470 170 L570 185 L560 320 L480 300 Z" class="parcel" fill="#f4d58d" stroke="#fff" stroke-width="2" tabindex="0" role="button" aria-label="Lakeside Homesite, 2.4 acres" aria-pressed="false" data-parcel="lakeside" data-sector="residential" data-name="Lakeside Homesite" data-acres="2.4" data-price="$129,000" data-zoning="Residential · lake access" data-sector-label="Residential"/>
<path d="M90 345 L260 315 L270 380 L100 390 Z" class="parcel" fill="#2f6b31" stroke="#fff" stroke-width="2" tabindex="0" role="button" aria-label="Cedar Hollow Woods, 45.0 acres" aria-pressed="false" data-parcel="cedar" data-sector="green" data-name="Cedar Hollow Woods" data-acres="45.0" data-price="$156,000" data-zoning="Timber · hunting allowed" data-sector-label="Green"/>
<path d="M290 315 L470 300 L480 385 L300 390 Z" class="parcel" fill="#9cc5f0" stroke="#fff" stroke-width="2" tabindex="0" role="button" aria-label="Rail Depot Yard, 18.3 acres" aria-pressed="false" data-parcel="depot" data-sector="commercial" data-name="Rail Depot Yard" data-acres="18.3" data-price="$720,000" data-zoning="Industrial I-1 · rail spur" data-sector-label="Commercial"/>
</svg>
</div>
<aside data-parcel-card class="flex flex-col rounded-[2rem] bg-white p-8" aria-live="polite">
<p class="flex items-center gap-2 text-sm font-semibold uppercase tracking-wide text-moss"><span data-parcel-dot class="h-3 w-3 rounded-full" style="background: #cfe97a" aria-hidden="true"></span><span data-parcel-sector>Agro</span></p>
<h3 data-parcel-name class="mt-3 font-display text-4xl font-bold leading-tight">Willow Creek Ranch</h3>
<dl class="mt-8 grid grid-cols-2 gap-4">
<div class="rounded-2xl bg-cloud p-4"><dt class="text-sm text-ink/60">Size</dt><dd class="font-display text-3xl font-bold"><span data-parcel-acres>79.4</span> ac</dd></div>
<div class="rounded-2xl bg-cloud p-4"><dt class="text-sm text-ink/60">Asking</dt><dd data-parcel-price class="font-display text-3xl font-bold">$412,000</dd></div>
</dl>
<p class="mt-6 text-ink/70"><i class="fa-solid fa-map-pin mr-2 text-moss" aria-hidden="true"></i><span data-parcel-zoning>Agricultural · irrigation rights</span></p>
<a href="willow-creek-ranch.html" data-parcel-link class="mt-auto inline-flex w-fit items-center gap-2 rounded-xl bg-ink px-6 py-3.5 font-semibold text-white transition hover:bg-moss md:mt-10">View plot <i class="fa-solid fa-arrow-right" aria-hidden="true"></i></a>
</aside>
</div>
</div>
</section>
<!-- block:end demo -->
<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 reducedMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;
const watchMotion = !reducedMotion && !navigator.webdriver && 'IntersectionObserver' in window;
document.querySelectorAll('[data-parcel-map]').forEach((root) => {
const parcels = [...root.querySelectorAll('[data-parcel]')];
const card = root.querySelector('[data-parcel-card]');
const colors = {};
parcels.forEach((parcel) => { colors[parcel.dataset.sector] = parcel.getAttribute('fill'); });
const show = (parcel) => {
parcels.forEach((other) => other.setAttribute('aria-pressed', String(other === parcel)));
card.querySelector('[data-parcel-name]').textContent = parcel.dataset.name;
card.querySelector('[data-parcel-sector]').textContent = parcel.dataset.sectorLabel;
card.querySelector('[data-parcel-dot]').style.background = colors[parcel.dataset.sector];
card.querySelector('[data-parcel-acres]').textContent = parcel.dataset.acres;
card.querySelector('[data-parcel-price]').textContent = parcel.dataset.price;
card.querySelector('[data-parcel-zoning]').textContent = parcel.dataset.zoning;
card.querySelector('[data-parcel-link]').setAttribute('href', parcel.dataset.parcel === 'willow' ? 'willow-creek-ranch.html' : 'maps.html');
};
parcels.forEach((parcel) => {
parcel.addEventListener('click', () => show(parcel));
parcel.addEventListener('keydown', (event) => { if (event.key === 'Enter' || event.key === ' ') { event.preventDefault(); show(parcel); } });
});
root.querySelectorAll('[data-sector-filter]').forEach((chip) => chip.addEventListener('click', () => {
const sector = chip.dataset.sectorFilter;
root.querySelectorAll('[data-sector-filter]').forEach((other) => { other.setAttribute('aria-pressed', String(other === chip)); other.selected = other === chip; });
parcels.forEach((parcel) => parcel.classList.toggle('is-dim', sector !== 'all' && parcel.dataset.sector !== sector));
const first = parcels.find((parcel) => !parcel.classList.contains('is-dim'));
if (first) show(first);
}));
});
document.querySelectorAll('[data-lightbox]').forEach((root) => {
const dialog = root.querySelector('[data-lightbox-dialog]');
if (!dialog || typeof dialog.showModal !== 'function') return;
root.querySelectorAll('[data-lightbox-open]').forEach((button) => button.addEventListener('click', () => {
dialog.querySelector('[data-lightbox-image]').src = button.dataset.image;
dialog.querySelector('[data-lightbox-image]').alt = button.dataset.alt;
dialog.querySelector('[data-lightbox-title]').textContent = button.dataset.title;
dialog.querySelector('[data-lightbox-meta]').textContent = button.dataset.meta;
dialog.querySelector('[data-lightbox-link]').setAttribute('href', button.dataset.href);
dialog.showModal();
}));
dialog.querySelector('[data-lightbox-close]').addEventListener('click', () => dialog.close());
dialog.addEventListener('click', (event) => { if (event.target === dialog) dialog.close(); });
});
document.querySelectorAll('[data-flip]').forEach((card) => {
card.addEventListener('click', () => card.setAttribute('aria-pressed', String(card.getAttribute('aria-pressed') !== 'true')));
});
document.querySelectorAll('[data-avatar-switcher]').forEach((root) => {
root.querySelectorAll('[data-quote-pick]').forEach((button) => button.addEventListener('click', () => {
root.querySelectorAll('[data-quote-pick]').forEach((other) => other.setAttribute('aria-pressed', String(other === button)));
root.querySelectorAll('[data-quote]').forEach((quote) => { quote.hidden = quote.dataset.quote !== button.dataset.quotePick; });
}));
});
document.querySelectorAll('[data-chat-faq]').forEach((root) => {
const log = root.querySelector('[data-chat-log]');
const bubble = (text, mine) => {
const item = document.createElement('li');
item.className = `bubble-in max-w-[85%] rounded-3xl px-5 py-3 ${mine ? 'self-end rounded-br-md bg-moss text-white' : 'rounded-bl-md bg-cloud'}`;
item.textContent = text;
log.append(item);
log.scrollTop = log.scrollHeight;
};
root.querySelectorAll('[data-chat-question]').forEach((button) => button.addEventListener('click', () => {
bubble((button.label || button.textContent).trim(), true);
setTimeout(() => bubble(button.dataset.answer, false), reducedMotion ? 0 : 500);
}));
});
document.querySelectorAll('[data-plot-gallery]').forEach((gallery) => {
const main = gallery.querySelector('[data-plot-main]');
gallery.querySelectorAll('[data-plot-thumb]').forEach((thumb) => thumb.addEventListener('click', () => {
main.src = thumb.dataset.plotThumb;
main.alt = thumb.querySelector('img').alt;
gallery.querySelectorAll('[data-plot-thumb]').forEach((other) => other.setAttribute('aria-pressed', String(other === thumb)));
}));
});
document.querySelectorAll('[data-compare]').forEach((compare) => {
const range = compare.querySelector('[data-compare-range]');
const after = compare.querySelector('[data-compare-after]');
const handle = compare.querySelector('[data-compare-handle]');
const update = () => { const value = Number(range.value); after.style.clipPath = `inset(0 0 0 ${value}%)`; handle.style.left = `${value}%`; };
range.addEventListener('input', update);
update();
});
document.querySelectorAll('[data-plot-search]').forEach((root) => {
const input = root.querySelector('[data-plot-query]');
const rows = [...root.querySelectorAll('[data-plot-row]')];
const count = root.querySelector('[data-plot-count]');
let sector = 'all';
const apply = () => {
const query = String(input.value || '').trim().toLowerCase();
let shown = 0;
rows.forEach((row) => {
const match = (sector === 'all' || row.dataset.sector === sector) && (!query || row.textContent.toLowerCase().includes(query));
row.hidden = !match;
if (match) shown += 1;
});
count.textContent = shown;
};
input.addEventListener('input', apply);
root.querySelectorAll('[data-plot-sector]').forEach((chip) => chip.addEventListener('click', () => {
sector = chip.dataset.plotSector;
root.querySelectorAll('[data-plot-sector]').forEach((other) => { other.setAttribute('aria-pressed', String(other === chip)); other.selected = other === chip; });
apply();
}));
});
document.querySelectorAll('[data-login-tabs]').forEach((root) => {
const tabs = [...root.querySelectorAll('[role="tab"]')];
tabs.forEach((tab) => tab.addEventListener('click', () => tabs.forEach((other) => {
const active = other === tab;
other.setAttribute('aria-selected', String(active));
other.tabIndex = active ? 0 : -1;
document.getElementById(other.getAttribute('aria-controls')).hidden = !active;
})));
});
document.querySelectorAll('[data-contact-form]').forEach((form) => {
form.addEventListener('submit', (event) => {
event.preventDefault();
const status = form.querySelector('[data-form-status]');
if (!form.checkValidity()) {
status.textContent = form.dataset.error;
form.querySelector(':invalid')?.focus();
return;
}
status.textContent = form.dataset.success;
form.reset();
});
});
document.querySelectorAll('[data-current-year]').forEach((el) => { el.textContent = new Date().getFullYear(); });
(() => {
const counters = document.querySelectorAll('[data-count-to]');
if (!counters.length || !watchMotion) return;
const observer = new IntersectionObserver((entries) => entries.forEach((entry) => {
if (!entry.isIntersecting) return;
const el = entry.target;
const target = Number(el.dataset.countTo);
const start = performance.now();
const tick = (now) => { const p = Math.min((now - start) / 700, 1); el.textContent = Math.round(target * p); if (p < 1) requestAnimationFrame(tick); };
requestAnimationFrame(tick);
observer.unobserve(el);
}), { threshold: 0.6 });
counters.forEach((el) => observer.observe(el));
})();
(() => {
const items = document.querySelectorAll('[data-reveal]');
if (!items.length || !watchMotion) 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>
<!-- 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>
Premium
Negocios
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.