margin-block-start
A logical property that sets the margin at the 'start' of the block axis (usually the 'top' in English). It's the logical replacement for 'margin-top'.
Quick example
article {
/* Adds space at the top in a logical way */
margin-block-start: 3rem;
} Quick facts
Initial value
0Inherited
No
Applies to
same as margin
Animation type
length
Values
top margin-block-start 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+