min-block-size

A logical property that sets the minimum size of an element in the block axis (usually 'height'). It's the logical replacement for 'min-height'.

Quick example

.sticky-header {
  /* Ensures the header is at least 60px tall logically */
  min-block-size: 60px;
}

Quick facts

Initial value
0
Inherited
No
Applies to
same as width and height
Animation type
lpc

Values

min-width

min-block-size Browser Support

Widely available Since 2021 95% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2021.

Safe to use without fallbacks.

57+
41+
12.1+
79+
ESC