margin-inline-end
The margin-inline-end
CSS property defines the logical inline end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. In other words, it corresponds to the margin-top
, margin-right
, margin-bottom
or margin-left
property depending on the values defined for writing-mode
, direction
, and text-orientation
.
Safe to Use
margin-inline-end
is considered safe to use.
It’s supported by 93% of global browsers.
Browsers
Version Breakdown
Full Support
Alternate name: -webkit-margin-end
Full Support
Alternate name: -webkit-margin-end
Full Support
Alternate name: -webkit-margin-end
Full Support
Alternate name: -moz-margin-end
Full Support
Alternate name: -moz-margin-end
No Support
Full Support
Alternate name: -webkit-margin-end
Full Support
Alternate name: -webkit-margin-end
Full Support
Alternate name: -webkit-margin-end
Full Support
Alternate name: -webkit-margin-end
Full Support
Alternate name: -webkit-margin-end
Full Support
Alternate name: -webkit-margin-end
Full Support
Alternate name: -webkit-margin-end
See Also
- CSS Logical Properties and Values
margin-inline-start
- The mapped physical properties:
margin-top
,margin-right
,margin-bottom
, andmargin-left
writing-mode
,direction
,text-orientation