CSS · Properties — CSS Logical Properties and Values
max-block-size
The CSS max-block-size property. Initial value: none. Not inherited.
Syntax
max-block-size: <'max-width'>Example
Try it
Notes
Media: visual. Applies to: sameAsWidthAndHeight. Computed value: sameAsMaxWidthAndMaxHeight.
More in this group
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.