liveBook · Manning

Min-width

The CSS min-width media feature matches when a viewport or output area is at least a specified width.

How 2 Manning books explain it

Tiny CSS Projects

The min-width media feature tests whether the viewport or output width is at least a specified value.

How it is used
Applies responsive CSS when the viewport reaches a chosen minimum width.
How deep it goes
Explains threshold syntax and demonstrates breakpoint-specific alignment and Flexbox layouts, without detailing media-query evaluation internals.
Examples
Uses responsive newspaper columns, checkout-table alignment, and side-by-side cart and summary cards.
What you can do after
Apply min-width media queries to progressively adapt table alignment and checkout layouts for wider screens.

Read how Tiny CSS Projects explains min-width →

Web Design Playground, Second Edition

The min-width media feature tests whether the viewport or rendering surface is at least a specified width.

How it is used
Uses a width threshold to conditionally adjust page elements in adaptive layouts.
How deep it goes
Defines the threshold test and demonstrates media-query syntax, while deferring other media features to further reference material.
Examples
Shows an aside becoming inline-block at 1,024 pixels or wider.
What you can do after
Apply min-width through CSS media queries to change layouts at chosen screen-width thresholds.

Read how Web Design Playground, Second Edition explains min-width →

Also covered in

What to know first

Related concepts

Questions about min-width

What is min-width?

The CSS min-width media feature matches when a viewport or output area is at least a specified width.

Which Manning books explain min-width?

Tiny CSS Projects and Web Design Playground, Second Edition.

What should I know before learning min-width?

Manning books that teach min-width usually introduce viewport first.

What is the difference between min-width and max-width property?

The CSS min-width media feature matches when a viewport or output area is at least a specified width. The CSS max-width property sets the maximum permitted width of an element’s applicable box.

What is min-width a kind of?

Min-width is a kind of media query. A media query is a CSS conditional rule that applies styles when specified media types or presentation-environment features match.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.