Feature Rows

Alternating text-and-image rows for walking through features one at a time.

ThemeMode
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-rows-icon-left">
  <div class="fr-inner">
    <div class="fr-row">
      <div class="fr-icon">A</div>
      <div class="fr-copy"><h3>Design with tokens</h3><p>Set your palette, type and spacing once. Every section inherits it, so the whole page stays consistent while you experiment.</p></div>
    </div>
    <div class="fr-row">
      <div class="fr-icon">B</div>
      <div class="fr-copy"><h3>Preview as you go</h3><p>See the real rendered page beside your controls. No guessing, no redeploy loop, no surprises at export time.</p></div>
    </div>
    <div class="fr-row">
      <div class="fr-icon">C</div>
      <div class="fr-copy"><h3>Ship the files</h3><p>Download one HTML file and one stylesheet. Drop them anywhere that serves static files and you are live.</p></div>
    </div>
  </div>
</section>
CSS block only, works with any theme's tokens
.s-features-rows-icon-left {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  padding-block: var(--space-2xl);
}
.s-features-rows-icon-left .fr-inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
  display: grid;
  gap: var(--space-xl);
}
.s-features-rows-icon-left .fr-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  align-items: start;
}
.s-features-rows-icon-left .fr-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 55%, var(--color-accent)));
  color: var(--color-bg);
  font-family: var(--font-heading);
  text-wrap: balance;
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color-primary) 25%, transparent);
}
.s-features-rows-icon-left .fr-copy 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-rows-icon-left .fr-copy p {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  text-wrap: pretty;
  color: var(--color-text-muted);
  margin: 0;
}
@media (max-width: 560px) {
  .s-features-rows-icon-left .fr-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}
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-rows-alternating">
  <div class="fr-inner">
    <div class="fr-row">
      <div class="fr-copy"><span class="fr-eyebrow">Compose</span><h3>Design with tokens</h3><p>Set your palette, type and spacing once. Every section inherits it, so the whole page stays consistent while you experiment.</p></div>
      <div class="fr-media"><div class="fr-window"><div class="fr-window-bar"><span></span><span></span><span></span></div><img src="data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22560%22%20height%3D%22360%22%20viewBox%3D%220%200%20560%20360%22%20role%3D%22img%22%20aria-label%3D%22Compose%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f2f3f7%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23dfe2ea%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22p%22%20width%3D%2236%22%20height%3D%2236%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M%2036%200%20L%200%200%200%2036%22%20fill%3D%22none%22%20stroke%3D%22%23c9cdd8%22%20stroke-opacity%3D%220.3%22%20stroke-width%3D%221%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%22560%22%20height%3D%22360%22%20fill%3D%22url(%23g)%22%2F%3E%3Crect%20width%3D%22560%22%20height%3D%22360%22%20fill%3D%22url(%23p)%22%2F%3E%3Ccircle%20cx%3D%22280%22%20cy%3D%22166.2%22%20r%3D%2236.800000000000004%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.6%22%2F%3E%3Cpath%20d%3D%22M260.45%20175.4%20l13.799999999999999%20-17.25%20l10.35%2011.5%20l6.8999999999999995%20-8.049999999999999%20l8.049999999999999%2013.799999999999999%20z%22%20fill%3D%22%23a2a8b8%22%2F%3E%3Ccircle%20cx%3D%22292.65%22%20cy%3D%22148.95%22%20r%3D%225.52%22%20fill%3D%22%23a2a8b8%22%2F%3E%3Ctext%20x%3D%2250%25%22%20y%3D%22223.7%22%20fill%3D%22%238a90a0%22%20font-family%3D%22system-ui%2C%20sans-serif%22%20font-size%3D%2223%22%20font-weight%3D%22600%22%20letter-spacing%3D%220.08em%22%20text-anchor%3D%22middle%22%3ECOMPOSE%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Compose" width="560" height="360" /></div></div>
    </div>
    <div class="fr-row fr-reverse">
      <div class="fr-copy"><span class="fr-eyebrow">Preview</span><h3>See it live</h3><p>The rendered page updates beside your controls. No redeploy loop, no surprises when you export.</p></div>
      <div class="fr-media"><div class="fr-window"><div class="fr-window-bar"><span></span><span></span><span></span></div><img src="data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22560%22%20height%3D%22360%22%20viewBox%3D%220%200%20560%20360%22%20role%3D%22img%22%20aria-label%3D%22Preview%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f2f3f7%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23dfe2ea%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22p%22%20width%3D%2236%22%20height%3D%2236%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20d%3D%22M%2036%200%20L%200%200%200%2036%22%20fill%3D%22none%22%20stroke%3D%22%23c9cdd8%22%20stroke-opacity%3D%220.3%22%20stroke-width%3D%221%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%22560%22%20height%3D%22360%22%20fill%3D%22url(%23g)%22%2F%3E%3Crect%20width%3D%22560%22%20height%3D%22360%22%20fill%3D%22url(%23p)%22%2F%3E%3Ccircle%20cx%3D%22280%22%20cy%3D%22166.2%22%20r%3D%2236.800000000000004%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%220.6%22%2F%3E%3Cpath%20d%3D%22M260.45%20175.4%20l13.799999999999999%20-17.25%20l10.35%2011.5%20l6.8999999999999995%20-8.049999999999999%20l8.049999999999999%2013.799999999999999%20z%22%20fill%3D%22%23a2a8b8%22%2F%3E%3Ccircle%20cx%3D%22292.65%22%20cy%3D%22148.95%22%20r%3D%225.52%22%20fill%3D%22%23a2a8b8%22%2F%3E%3Ctext%20x%3D%2250%25%22%20y%3D%22223.7%22%20fill%3D%22%238a90a0%22%20font-family%3D%22system-ui%2C%20sans-serif%22%20font-size%3D%2223%22%20font-weight%3D%22600%22%20letter-spacing%3D%220.08em%22%20text-anchor%3D%22middle%22%3EPREVIEW%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Preview" width="560" height="360" /></div></div>
    </div>
  </div>
</section>
CSS block only, works with any theme's tokens
.s-features-rows-alternating {
  background:
    radial-gradient(40rem 20rem at 88% -10%, color-mix(in srgb, var(--color-accent) 6%, transparent), transparent 60%),
    var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  padding-block: var(--space-2xl);
}
.s-features-rows-alternating .fr-inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-lg);
  display: grid;
  gap: var(--space-2xl);
}
.s-features-rows-alternating .fr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.s-features-rows-alternating .fr-reverse .fr-copy {
  order: 2;
}
.s-features-rows-alternating .fr-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-rows-alternating .fr-copy h3 {
  font-family: var(--font-heading);
  text-wrap: balance;
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-sm);
}
.s-features-rows-alternating .fr-copy p {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  text-wrap: pretty;
  color: var(--color-text-muted);
  margin: 0;
}
.s-features-rows-alternating .fr-window {
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--color-text) 10%, var(--color-border));
  background: var(--color-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.s-features-rows-alternating .fr-window-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.s-features-rows-alternating .fr-window-bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-text) 14%, var(--color-border));
}
.s-features-rows-alternating .fr-window img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .s-features-rows-alternating .fr-row {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .s-features-rows-alternating .fr-reverse .fr-copy {
    order: 0;
  }
}

Baseline 2024 — works in every up-to-date browser.

Plus universally supported features: logical properties, custom properties. Baseline status is pulled from each feature's reference snippet.

ESC