CSS · Properties — CSS Flexible Box Layout

flex-line-count

The CSS flex-line-count property. Initial value: 1. Not inherited.

Syntax
flex-line-count: <integer [1,∞]>

Example

Try it

Notes

Media: visual. Applies to: multilineFlexContainers. Computed value: asSpecified.

More in this group

flex-flow

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course