CSS margin-inline Property
margin-inline: 20px 40px;
The margin-inline CSS property is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
The following are shorthand properties of margin-inline:
The following table describes the values of this property:
|Specifies a margin inline in px, pt, cm, etc. Default value is 0. Negative values are allowed.
|The browser calculates a margin inline.
|Specifies a margin inline in percent of the width of the containing element.
|Sets this property to its default value.
|If specified, the associated element takes the computed value of its parent element animation-delay property.
|Reverts the cascaded value of the property from its current value to the value the property
|Rollback styles to the ones specified in previous cascade layers.
|Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not.
Default CSS Property Values