margin-block-end

A logical property that sets the margin at the 'end' of the block axis (usually the 'bottom' in English). It's the logical replacement for 'margin-bottom'.

Quick example

section {
  /* Adds space at the bottom in a logical way */
  margin-block-end: 2rem;
}

Quick facts

Initial value
0
Inherited
No
Applies to
same as margin
Animation type
length

Values

margin-top

margin-block-end 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.

69+
41+
12.1+
79+
ESC