The margin-block-end property sets the outer margin on the block-end edge of an element. In a horizontal writing mode (the usual default), that maps to the physical bottom — like margin-bottom.
With a vertical writing-mode, it can map to left or right instead. It is one half of the margin-block shorthand (with margin-block-start). It is not inherited. The initial value is 0.
Baseline · Widely available.
Not deprecated. Cross-browser since about January 2020. Prefer it over margin-bottom when writing mode may change.
Logical tip.
Use margin-block-end for space after the element in the writing flow. Pair with margin-block-start when you need both sides separately.
Syntax
CSS Syntax
syntax.css
margin-block-end:<length> | <percentage> | auto | initial | inherit;
margin-block-end is a browser CSS property (logical box model). Node.js, Deno, and Bun do not apply it.
✓ Baseline · Widely available
margin-block-end
Supported in modern browsers since about January 2020. Part of CSS Logical Properties and Values.
96%Modern support
Google Chrome69+
Full support
Mozilla Firefox41+
Full support
Apple Safari12.1+
Full support
Microsoft Edge79+
Full support
Opera56+
Full support
Samsung Internet10+
Full support
Internet Explorer—
No support
margin-block-endModern browsers
Bottom line: Safe for modern sites. Fall back to margin-bottom only if you must support Internet Explorer. It is not a runtime API.
Remember
Key Takeaways
Role: outer margin on the block-end edge only.
Logical: follows writing mode — usually bottom in horizontal text.
Shorthand: part of margin-block with margin-block-start.
Default:0 — not inherited.
One line:margin-block-end adds space after the element on the block axis — writing-mode aware.
Frequently Asked Questions
It sets the outer margin on the block-end edge. In a horizontal writing mode, that is usually the bottom. The physical side can change with writing-mode.
The default is 0, so there is no block-end margin until you set one.
margin-bottom always means physical bottom. margin-block-end follows writing mode, so in vertical text it may map to left or right instead.
margin-block is the shorthand for margin-block-start and margin-block-end. Use the longhand when you only need the end side.
Use it for spacing after an element on the block axis—between stacked sections or paragraphs—especially when writing mode may change.
It is Baseline and widely available in modern browsers since about January 2020. It is a browser CSS property, not a Node.js feature.