Preview
HTML
<article>
<p>248</p>
<h2>Sets</h2>
</article>
CSS
:root {
--ink: #111111;
--paper: #ffffff;
--accent: #e10600;
--accent-2: #111111;
--on-accent: #ffffff;
--muted: #5c5c5c;
--line: #111111;
--chip: #f2f2f2;
}
article {
display: grid;
gap: 0.15rem;
padding: 1rem 1.1rem;
border: 1px solid var(--line);
border-radius: 0.45rem;
background: var(--paper);
color: var(--ink);
font-family: system-ui, sans-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: 0.92rem;
font-weight: 650;
text-transform: none;
}
Tailwind
<style>
:root {
--ink: #111111;
--paper: #ffffff;
--accent: #e10600;
--accent-2: #111111;
--on-accent: #ffffff;
--muted: #5c5c5c;
--line: #111111;
--chip: #f2f2f2;
}
</style>
<article class="grid gap-[0.15rem] p-[1rem_1.1rem] [border:1px_solid_var(--line)] rounded-[0.45rem] bg-[var(--paper)] text-[var(--ink)] font-[system-ui,_sans-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-[0.92rem] font-[650] normal-case">Sets</h2>
</article>