Preview
HTML
<article>
<p aria-hidden="true">Aa</p>
<h1>Caption</h1>
<p>The mark stays put. The line fills.</p>
</article>
CSS
:root {
--ink: #1e2a1c;
--paper: #f3f6ee;
--accent: #3f6b3a;
--accent-2: #8a6a32;
--on-accent: #f5f8ef;
--muted: #66725f;
--line: #c9d2be;
--chip: #e6eedc;
}
article {
display: grid;
grid-template-columns: auto 1fr;
column-gap: 0.75rem;
row-gap: 0.15rem;
align-items: start;
color: var(--ink);
}
article > p:first-child {
grid-row: 1 / span 2;
display: grid;
place-items: center;
width: 2.4rem;
height: 2.4rem;
margin: 0;
border-radius: 0.4rem;
background: var(--accent);
color: var(--on-accent);
font-weight: 800;
}
h1,
p {
margin: 0;
}
h1 {
font-size: 1rem;
}
article > p:last-child {
color: var(--muted);
font-size: 0.85rem;
}
Tailwind
<style>
:root {
--ink: #1e2a1c;
--paper: #f3f6ee;
--accent: #3f6b3a;
--accent-2: #8a6a32;
--on-accent: #f5f8ef;
--muted: #66725f;
--line: #c9d2be;
--chip: #e6eedc;
}
article > p:first-child {
grid-row: 1 / span 2;
display: grid;
place-items: center;
width: 2.4rem;
height: 2.4rem;
margin: 0;
border-radius: 0.4rem;
background: var(--accent);
color: var(--on-accent);
font-weight: 800;
}
article > p:last-child {
color: var(--muted);
font-size: 0.85rem;
}
</style>
<article class="grid [grid-template-columns:auto_1fr] gap-x-[0.75rem] gap-y-[0.15rem] items-start text-[var(--ink)]">
<p class="m-0" aria-hidden="true">Aa</p>
<h1 class="m-0 text-[1rem]">Caption</h1>
<p class="m-0">The mark stays put. The line fills.</p>
</article>