css.properties

min-inline-size

The min-inline-size property sets the minimum size of a block in the inline direction.

Formal Syntax

<'min-width'>

See specification

JavaScript Access

// Access via element.style
element.style.minInlineSize = '0';

Logical Property Group

This property belongs to the min-size logical property group, which includes:

Browser Support

standard | MDN · Spec · Spec

FeatureChromeFirefoxSafariEdge
min-inline-size574112.179
anchor-size12514726125
auto574112.179
fit-content579412.179
fit-content_function91
max-content576612.179
min-content576612.179
stretch138138

Behind a Flag

Some browsers require enabling a flag or preference:

  • min-inline-size: fit-content_function — firefox: #layout.css.fit-content-function.enabled (since 91)

Related Properties