Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Flex
description: Stacks provides extensive utility and helper classes for flex layouts. If you are new to flex layouts, check out this <a href="https://www.joshwcomeau.com/css/interactive-guide-to-flexbox/" rel="external">interactive introduction</a> by Joshua Comeau.</p>
description: Stacks provides extensive utility and helper classes for flex layouts. If you are new to flex layouts, check out this <a href="https://www.joshwcomeau.com/css/interactive-guide-to-flexbox/" rel="external">interactive introduction</a> by Joshua Comeau.
updated: 2025-12-05
---

Expand Down Expand Up @@ -376,8 +376,6 @@ updated: 2025-12-05
}
</style>

Stacks provides extensive utility and helper classes for flex layouts. If you are new to flex layouts, check out this <a href="https://www.joshwcomeau.com/css/interactive-guide-to-flexbox/" rel="external">interactive introduction</a> by Joshua Comeau.

## Basic flex layout

A flex layout is initiated with the <code class="stacks-code">.d-flex</code> class. By default, <code class="stacks-code">display: flex;</code> starts a non-wrapping row. To convert it to a column, apply the <code class="stacks-code">.fd-column</code> atomic class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<article class="d-flex md:fd-column mx-auto pl32 md:pr32 sm:pl24 sm:pr24">
<div class="doc flex--item9 wmn1 s-prose fs-body2 pt24">
<div class="d-flex gs4 ai-center mb128">
<div class="d-flex gs4 ai-center {data?.active?.image ? 'mb128' : 'mb24'}">
<nav class="flex--item fs-body2 mr-auto" aria-label="breadcrumb">
{#each data.breadcrumb as crumb, index (crumb.path)}
<a href={resolve(crumb.path)} class="pr6 s-link">{crumb.label}</a>{#if index !== data.breadcrumb.length - 1}<span class="fc-black-300 mr6">/</span>{/if}
Expand Down
Loading