CSS masonry-auto-flow Property Reference

The CSS masonry-auto-flow property is a nonstandard property in CSS Grid Layout. Review its formal syntax, computed behavior, and practical declarations.

CSS masonry-auto-flow Property Reference

The CSS masonry-auto-flow property is a nonstandard property in CSS Grid Layout. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

masonry-auto-flow overview

The CSS masonry-auto-flow property is a nonstandard property in CSS Grid Layout. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

masonry-auto-flow formal syntax
FieldValue
Formal syntax[ pack | next ] || [ definite-first | ordered ]
Initial valuepack
Applies togridContainersWithMasonryLayout
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Grid Layout
StatusNonstandard

Practical examples

These declarations demonstrate valid ways to set masonry-auto-flow. The initial and inherit global keywords remain available even when a property-specific value is preferable.

masonry-auto-flow live example
CSS .reset-example { masonry-auto-flow: initial; } .inherit-example { masonry-auto-flow: inherit; } @supports (masonry-auto-flow: initial) { .supported { masonry-auto-flow: initial; } }

Description

The CSS masonry-auto-flow property is a nonstandard property in CSS Grid Layout. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: masonry-auto-flow
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies