Skip to content
DevDepth

Tag: flexbox

8 items under this tag.

Topic Filter

Browse by tag

79 tags

Showing the most-used tags first so the archive stays easy to scan. Click a tag to browse only that topic.

All Content

Current tag

flexbox8
Popular tags stay visible first.
6 min readflexboxCss Layout / Flexbox

Flexbox Fundamentals: Axes, Alignment, and the Real Mental Model Behind One-Dimensional Layout

Understand what Flexbox is actually good at, how its axes work, and how alignment properties distribute space so your layouts stop feeling magical.

4 min readflexboxCss Layout / Flexbox

Flexbox Layout Patterns: Centering, Equal Height Cards, Sticky Footers, and Other Practical UI Structures

Use Flexbox to build the layout patterns developers actually ship, from centered heroes and equal-height cards to sticky footers and split panes.

5 min readflexboxCss Layout / Flexbox

Flexbox Sizing Explained: `flex-grow`, `flex-shrink`, `flex-basis`, and Why Width Is Not the Whole Story

Follow the Flexbox sizing algorithm step by step so you can predict how free space, negative space, and min-size clamping affect each item.

4 min readlayout-strategyCss Layout / Strategy

Flexbox vs Grid: A Practical Decision Guide for Real Layout Work

Choose between Flexbox and Grid based on axis, placement, source order, and component responsibility instead of repeating the vague one-dimensional versus two-dimensional slogan.

7 min readlayout-strategyCss Layout / Strategy

How to Fix Scroll Failures and Stretched UI in Flexbox and Grid

Use `min-height: 0`, inner scroll wrappers, auto margins, non-stretch alignment, and `flex-shrink: 0` to prevent broken scrolling and distorted UI in Flexbox and Grid.

7 min readlayout-strategyCss Layout / Strategy

How to Prevent Overflow in Flexbox and Grid Layouts

Use `flex-wrap`, content-aware Flexbox sizing, and Grid RAM patterns with `repeat(auto-fit, minmax())` to prevent broken layouts and horizontal overflow.

3 min readlayout-strategyCss Layout / Strategy

What `display: contents` Actually Does in Flexbox and Grid Layouts

Understand when `display: contents` helps flatten wrappers for layout participation, where it creates tradeoffs, and why it is not a universal replacement for subgrid.

7 min readlayout-strategyCss Layout / Strategy

Why `min-width: 0` Fixes So Many Flexbox and Grid Layout Bugs

Learn how automatic minimum size and `min-content` cause `flex: 1`, `1fr`, long words, and scrollable components to overflow, and when to use `min-width: 0`, `overflow: hidden`, or `minmax(0, 1fr)`.