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'.
It is documented as part of the CSS Logical Properties and Values specification.
Syntax
/* Usage Example */
section {
/* Adds space at the bottom in a logical way */
margin-block-end: 2rem;
}
/* Syntax */
margin-block-end: margin-top;
/* Global values */
margin-block-end: inherit;
margin-block-end: initial;
margin-block-end: revert;
margin-block-end: revert-layer;
margin-block-end: unset;
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.
69+
41+
12.1+
79+