Preview
HTML
<article>
<p>248</p>
<h2>Sets</h2>
</article>
CSS
:root {
--ink: #1c1915;
--paper: #fbf7ee;
--accent: #6b3f2a;
--accent-2: #2c3a4a;
--on-accent: #fbf7ee;
--muted: #6f675c;
--line: #cfc4b0;
--chip: #f0e9db;
}
article {
display: grid;
gap: 0.15rem;
padding: 0;
border: 1px solid var(--line);
border-radius: 0;
background: var(--paper);
color: var(--ink);
font-family: Palatino, Georgia, serif;
}
p, h2 { margin: 0; }
p {
font-size: 1.8rem;
font-weight: 800;
letter-spacing: -0.04em;
line-height: 1;
}
h2 {
color: var(--muted);
font-size: 1rem;
font-weight: 600;
text-transform: none;
}
Tailwind
<style>
:root {
--ink: #1c1915;
--paper: #fbf7ee;
--accent: #6b3f2a;
--accent-2: #2c3a4a;
--on-accent: #fbf7ee;
--muted: #6f675c;
--line: #cfc4b0;
--chip: #f0e9db;
}
</style>
<article class="grid gap-[0.15rem] p-0 [border:1px_solid_var(--line)] rounded-[0] bg-[var(--paper)] text-[var(--ink)] font-[Palatino,_Georgia,_serif]">
<p class="m-0 text-[1.8rem] font-extrabold tracking-[-0.04em] leading-[1]">248</p>
<h2 class="m-0 text-[var(--muted)] text-[1rem] font-semibold normal-case">Sets</h2>
</article>