Feature Grid
A tidy grid of feature cards. Scales from two to four columns.
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#18181b, #fafafa);
--color-accent: light-dark(#4f46e5, #818cf8);
--color-bg: light-dark(#ffffff, #0b0b0d);
--color-surface: light-dark(#f7f7f8, #161619);
--color-text: light-dark(#0a0a0c, #f5f5f6);
--color-text-muted: light-dark(#52525b, #a1a1aa);
--color-border: light-dark(#e4e4e7, #26262b);
--font-heading: 'Inter', system-ui, sans-serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.1;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 0.625rem;
--shadow: 0 1px 2px rgb(10 10 12 / 0.05), 0 4px 12px rgb(10 10 12 / 0.06), 0 16px 40px rgb(10 10 12 / 0.06);
--container-width: 1120px;
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#4f46e5, #818cf8);
--color-accent: light-dark(#a855f7, #c084fc);
--color-bg: light-dark(#ffffff, #0c0c18);
--color-surface: light-dark(#f5f5ff, #16162b);
--color-text: light-dark(#111127, #ececf6);
--color-text-muted: light-dark(#5a5a72, #9d9dbd);
--color-border: light-dark(#e4e4f2, #28284a);
--font-heading: 'Inter', system-ui, sans-serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.1;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 0.75rem;
--shadow: 0 1px 2px rgb(79 70 229 / 0.06), 0 6px 16px rgb(79 70 229 / 0.10), 0 20px 48px rgb(79 70 229 / 0.10);
--container-width: 1120px;
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#0d9488, #2dd4bf);
--color-accent: light-dark(#f97316, #fb923c);
--color-bg: light-dark(#fbfaf8, #171412);
--color-surface: light-dark(#f3f0ea, #221e1a);
--color-text: light-dark(#292524, #ece7e0);
--color-text-muted: light-dark(#6b6560, #a8a099);
--color-border: light-dark(#e5dfd6, #37312a);
--font-heading: Georgia, 'Times New Roman', serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.15;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 1rem;
--shadow: 0 2px 6px rgb(90 75 60 / 0.06), 0 10px 28px rgb(90 75 60 / 0.10);
--container-width: 1120px;
}
HTML
<section class="s-features-grid-two-col">
<div class="fg-inner">
<div class="fg-head">
<span class="fg-eyebrow">Features</span>
<h2 class="fg-title">Everything you need, nothing you don't</h2>
<p class="fg-sub">Focused tools that stay out of your way.</p>
</div>
<div class="fg-grid">
<article class="fg-card"><div class="fg-icon">01</div><h3>Clean output</h3><p>Semantic HTML and vanilla CSS you would happily commit to your repo.</p></article>
<article class="fg-card"><div class="fg-icon">02</div><h3>Live theming</h3><p>Change a token and the whole page restyles instantly in front of you.</p></article>
<article class="fg-card"><div class="fg-icon">03</div><h3>No lock-in</h3><p>Export once and own the files. No runtime, no dependency, no account.</p></article>
<article class="fg-card"><div class="fg-icon">04</div><h3>Responsive first</h3><p>Every section is built to hold up from phone to widescreen out of the box.</p></article>
</div>
</div>
</section>CSS block only, works with any theme's tokens
.s-features-grid-two-col {
background:
radial-gradient(42rem 20rem at 12% -10%, color-mix(in srgb, var(--color-primary) 5%, transparent), transparent 60%),
var(--color-bg);
color: var(--color-text);
font-family: var(--font-body);
padding-block: var(--space-2xl);
}
.s-features-grid-two-col .fg-inner {
max-width: var(--container-width);
margin-inline: auto;
padding-inline: var(--space-lg);
}
.s-features-grid-two-col .fg-head {
max-width: 640px;
margin-bottom: var(--space-xl);
}
.s-features-grid-two-col .fg-eyebrow {
display: inline-block;
font-size: var(--text-sm);
font-weight: var(--weight-medium);
color: var(--color-primary);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: var(--space-sm);
}
.s-features-grid-two-col .fg-title {
font-family: var(--font-heading);
text-wrap: balance;
font-size: var(--text-3xl);
font-weight: var(--weight-bold);
line-height: var(--leading-tight);
letter-spacing: -0.02em;
margin: 0 0 var(--space-sm);
}
.s-features-grid-two-col .fg-sub {
font-size: var(--text-lg);
color: var(--color-text-muted);
margin: 0;
}
.s-features-grid-two-col .fg-grid {
display: grid;
gap: var(--space-lg);
grid-template-columns: repeat(2, 1fr);
}
.s-features-grid-two-col .fg-card {
padding: var(--space-lg);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.s-features-grid-two-col .fg-card:hover {
transform: translateY(-3px);
border-color: color-mix(in srgb, var(--color-primary) 30%, var(--color-border));
box-shadow: var(--shadow);
}
.s-features-grid-two-col .fg-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border-radius: var(--radius);
background: color-mix(in srgb, var(--color-primary) 9%, var(--color-bg));
border: 1px solid color-mix(in srgb, var(--color-primary) 18%, var(--color-border));
color: var(--color-primary);
font-size: var(--text-sm);
font-weight: var(--weight-bold);
margin-bottom: var(--space-md);
}
.s-features-grid-two-col .fg-card h3 {
font-family: var(--font-heading);
text-wrap: balance;
font-size: var(--text-xl);
font-weight: var(--weight-bold);
letter-spacing: -0.01em;
margin: 0 0 var(--space-xs);
}
.s-features-grid-two-col .fg-card p {
font-size: var(--text-base);
line-height: var(--leading-normal);
text-wrap: pretty;
color: var(--color-text-muted);
margin: 0;
}
@media (max-width: 768px) {
.s-features-grid-two-col .fg-grid {
grid-template-columns: 1fr;
}
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#18181b, #fafafa);
--color-accent: light-dark(#4f46e5, #818cf8);
--color-bg: light-dark(#ffffff, #0b0b0d);
--color-surface: light-dark(#f7f7f8, #161619);
--color-text: light-dark(#0a0a0c, #f5f5f6);
--color-text-muted: light-dark(#52525b, #a1a1aa);
--color-border: light-dark(#e4e4e7, #26262b);
--font-heading: 'Inter', system-ui, sans-serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.1;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 0.625rem;
--shadow: 0 1px 2px rgb(10 10 12 / 0.05), 0 4px 12px rgb(10 10 12 / 0.06), 0 16px 40px rgb(10 10 12 / 0.06);
--container-width: 1120px;
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#4f46e5, #818cf8);
--color-accent: light-dark(#a855f7, #c084fc);
--color-bg: light-dark(#ffffff, #0c0c18);
--color-surface: light-dark(#f5f5ff, #16162b);
--color-text: light-dark(#111127, #ececf6);
--color-text-muted: light-dark(#5a5a72, #9d9dbd);
--color-border: light-dark(#e4e4f2, #28284a);
--font-heading: 'Inter', system-ui, sans-serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.1;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 0.75rem;
--shadow: 0 1px 2px rgb(79 70 229 / 0.06), 0 6px 16px rgb(79 70 229 / 0.10), 0 20px 48px rgb(79 70 229 / 0.10);
--container-width: 1120px;
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#0d9488, #2dd4bf);
--color-accent: light-dark(#f97316, #fb923c);
--color-bg: light-dark(#fbfaf8, #171412);
--color-surface: light-dark(#f3f0ea, #221e1a);
--color-text: light-dark(#292524, #ece7e0);
--color-text-muted: light-dark(#6b6560, #a8a099);
--color-border: light-dark(#e5dfd6, #37312a);
--font-heading: Georgia, 'Times New Roman', serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.15;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 1rem;
--shadow: 0 2px 6px rgb(90 75 60 / 0.06), 0 10px 28px rgb(90 75 60 / 0.10);
--container-width: 1120px;
}
HTML
<section class="s-features-grid-three-col">
<div class="fg-inner">
<div class="fg-head">
<span class="fg-eyebrow">Features</span>
<h2 class="fg-title">Everything you need, nothing you don't</h2>
<p class="fg-sub">Focused tools that stay out of your way.</p>
</div>
<div class="fg-grid">
<article class="fg-card"><div class="fg-icon">01</div><h3>Clean output</h3><p>Semantic HTML and vanilla CSS you would happily commit.</p></article>
<article class="fg-card"><div class="fg-icon">02</div><h3>Live theming</h3><p>Change a token and the whole page restyles instantly.</p></article>
<article class="fg-card"><div class="fg-icon">03</div><h3>No lock-in</h3><p>Export once and own the files. No runtime, no account.</p></article>
<article class="fg-card"><div class="fg-icon">04</div><h3>Responsive first</h3><p>Holds up from phone to widescreen out of the box.</p></article>
<article class="fg-card"><div class="fg-icon">05</div><h3>Copy per section</h3><p>Grab a single block to patch an existing site in seconds.</p></article>
<article class="fg-card"><div class="fg-icon">06</div><h3>Share a link</h3><p>Your build lives in the URL. Send it, open it anywhere.</p></article>
</div>
</div>
</section>CSS block only, works with any theme's tokens
.s-features-grid-three-col {
background:
radial-gradient(42rem 20rem at 12% -10%, color-mix(in srgb, var(--color-primary) 5%, transparent), transparent 60%),
var(--color-bg);
color: var(--color-text);
font-family: var(--font-body);
padding-block: var(--space-2xl);
}
.s-features-grid-three-col .fg-inner {
max-width: var(--container-width);
margin-inline: auto;
padding-inline: var(--space-lg);
}
.s-features-grid-three-col .fg-head {
max-width: 640px;
margin-bottom: var(--space-xl);
}
.s-features-grid-three-col .fg-eyebrow {
display: inline-block;
font-size: var(--text-sm);
font-weight: var(--weight-medium);
color: var(--color-primary);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: var(--space-sm);
}
.s-features-grid-three-col .fg-title {
font-family: var(--font-heading);
text-wrap: balance;
font-size: var(--text-3xl);
font-weight: var(--weight-bold);
line-height: var(--leading-tight);
letter-spacing: -0.02em;
margin: 0 0 var(--space-sm);
}
.s-features-grid-three-col .fg-sub {
font-size: var(--text-lg);
color: var(--color-text-muted);
margin: 0;
}
.s-features-grid-three-col .fg-grid {
display: grid;
gap: var(--space-lg);
grid-template-columns: repeat(3, 1fr);
}
.s-features-grid-three-col .fg-card {
padding: var(--space-lg);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.s-features-grid-three-col .fg-card:hover {
transform: translateY(-3px);
border-color: color-mix(in srgb, var(--color-primary) 30%, var(--color-border));
box-shadow: var(--shadow);
}
.s-features-grid-three-col .fg-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border-radius: var(--radius);
background: color-mix(in srgb, var(--color-primary) 9%, var(--color-bg));
border: 1px solid color-mix(in srgb, var(--color-primary) 18%, var(--color-border));
color: var(--color-primary);
font-size: var(--text-sm);
font-weight: var(--weight-bold);
margin-bottom: var(--space-md);
}
.s-features-grid-three-col .fg-card h3 {
font-family: var(--font-heading);
text-wrap: balance;
font-size: var(--text-lg);
font-weight: var(--weight-bold);
letter-spacing: -0.01em;
margin: 0 0 var(--space-xs);
}
.s-features-grid-three-col .fg-card p {
font-size: var(--text-base);
line-height: var(--leading-normal);
text-wrap: pretty;
color: var(--color-text-muted);
margin: 0;
}
@media (max-width: 900px) {
.s-features-grid-three-col .fg-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 560px) {
.s-features-grid-three-col .fg-grid {
grid-template-columns: 1fr;
}
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#18181b, #fafafa);
--color-accent: light-dark(#4f46e5, #818cf8);
--color-bg: light-dark(#ffffff, #0b0b0d);
--color-surface: light-dark(#f7f7f8, #161619);
--color-text: light-dark(#0a0a0c, #f5f5f6);
--color-text-muted: light-dark(#52525b, #a1a1aa);
--color-border: light-dark(#e4e4e7, #26262b);
--font-heading: 'Inter', system-ui, sans-serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.1;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 0.625rem;
--shadow: 0 1px 2px rgb(10 10 12 / 0.05), 0 4px 12px rgb(10 10 12 / 0.06), 0 16px 40px rgb(10 10 12 / 0.06);
--container-width: 1120px;
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#4f46e5, #818cf8);
--color-accent: light-dark(#a855f7, #c084fc);
--color-bg: light-dark(#ffffff, #0c0c18);
--color-surface: light-dark(#f5f5ff, #16162b);
--color-text: light-dark(#111127, #ececf6);
--color-text-muted: light-dark(#5a5a72, #9d9dbd);
--color-border: light-dark(#e4e4f2, #28284a);
--font-heading: 'Inter', system-ui, sans-serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.1;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 0.75rem;
--shadow: 0 1px 2px rgb(79 70 229 / 0.06), 0 6px 16px rgb(79 70 229 / 0.10), 0 20px 48px rgb(79 70 229 / 0.10);
--container-width: 1120px;
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#0d9488, #2dd4bf);
--color-accent: light-dark(#f97316, #fb923c);
--color-bg: light-dark(#fbfaf8, #171412);
--color-surface: light-dark(#f3f0ea, #221e1a);
--color-text: light-dark(#292524, #ece7e0);
--color-text-muted: light-dark(#6b6560, #a8a099);
--color-border: light-dark(#e5dfd6, #37312a);
--font-heading: Georgia, 'Times New Roman', serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.15;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 1rem;
--shadow: 0 2px 6px rgb(90 75 60 / 0.06), 0 10px 28px rgb(90 75 60 / 0.10);
--container-width: 1120px;
}
HTML
<section class="s-features-grid-four-col">
<div class="fg-inner">
<div class="fg-head">
<span class="fg-eyebrow">Features</span>
<h2 class="fg-title">Everything you need, nothing you don't</h2>
<p class="fg-sub">Focused tools that stay out of your way.</p>
</div>
<div class="fg-grid">
<article class="fg-card"><div class="fg-icon">01</div><h3>Clean output</h3><p>Vanilla CSS you would commit.</p></article>
<article class="fg-card"><div class="fg-icon">02</div><h3>Live theming</h3><p>Tokens restyle everything.</p></article>
<article class="fg-card"><div class="fg-icon">03</div><h3>No lock-in</h3><p>Own the files. No account.</p></article>
<article class="fg-card"><div class="fg-icon">04</div><h3>Responsive</h3><p>Phone to widescreen.</p></article>
</div>
</div>
</section>CSS block only, works with any theme's tokens
.s-features-grid-four-col {
background:
radial-gradient(42rem 20rem at 12% -10%, color-mix(in srgb, var(--color-primary) 5%, transparent), transparent 60%),
var(--color-bg);
color: var(--color-text);
font-family: var(--font-body);
padding-block: var(--space-2xl);
}
.s-features-grid-four-col .fg-inner {
max-width: var(--container-width);
margin-inline: auto;
padding-inline: var(--space-lg);
}
.s-features-grid-four-col .fg-head {
max-width: 640px;
margin-bottom: var(--space-xl);
}
.s-features-grid-four-col .fg-eyebrow {
display: inline-block;
font-size: var(--text-sm);
font-weight: var(--weight-medium);
color: var(--color-primary);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: var(--space-sm);
}
.s-features-grid-four-col .fg-title {
font-family: var(--font-heading);
text-wrap: balance;
font-size: var(--text-3xl);
font-weight: var(--weight-bold);
line-height: var(--leading-tight);
letter-spacing: -0.02em;
margin: 0 0 var(--space-sm);
}
.s-features-grid-four-col .fg-sub {
font-size: var(--text-lg);
color: var(--color-text-muted);
margin: 0;
}
.s-features-grid-four-col .fg-grid {
display: grid;
gap: var(--space-md);
grid-template-columns: repeat(4, 1fr);
}
.s-features-grid-four-col .fg-card {
padding: var(--space-md);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.s-features-grid-four-col .fg-card:hover {
transform: translateY(-3px);
border-color: color-mix(in srgb, var(--color-primary) 30%, var(--color-border));
box-shadow: var(--shadow);
}
.s-features-grid-four-col .fg-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.25rem;
height: 2.25rem;
border-radius: var(--radius);
background: color-mix(in srgb, var(--color-primary) 9%, var(--color-bg));
border: 1px solid color-mix(in srgb, var(--color-primary) 18%, var(--color-border));
color: var(--color-primary);
font-size: var(--text-sm);
font-weight: var(--weight-bold);
margin-bottom: var(--space-sm);
}
.s-features-grid-four-col .fg-card h3 {
font-family: var(--font-heading);
text-wrap: balance;
font-size: var(--text-base);
font-weight: var(--weight-bold);
margin: 0 0 var(--space-xs);
}
.s-features-grid-four-col .fg-card p {
font-size: var(--text-sm);
line-height: var(--leading-normal);
text-wrap: pretty;
color: var(--color-text-muted);
margin: 0;
}
@media (max-width: 900px) {
.s-features-grid-four-col .fg-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.s-features-grid-four-col .fg-grid {
grid-template-columns: 1fr;
}
}
Modern CSS in this block
Baseline 2024 — works in every up-to-date browser.
- color-mix()Newly availableMixing colors without a preprocessor
- text-wrap: balanceNewly availableBalanced headlines without manual line breaks
- text-wrap: prettyNewly availablePretty paragraph wrapping without orphan words
Plus universally supported features: logical properties, custom properties. Baseline status is pulled from each feature's reference snippet.
More features blocks