MDN The margin-blockCSSshorthand property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
MDN The margin-block-endCSS property defines the logical block end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
MDN The margin-block-startCSS property defines the logical block start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
MDN The margin-inlineCSSshorthand property 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.
MDN The margin-inline-endCSS 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.
MDN The margin-inline-startCSS property defines the logical inline start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. 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.
PropertyBaseline: widely availablesince March 2024
MDN The padding-blockCSSshorthand property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.
<section id="default-example"> <div class="transition-all" id="example-element"> <div class="box"> Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy lies a small unregarded yellow sun. </div> </div></section>
Syntax
<'padding-top'>{1,2}
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
PropertyBaseline: widely availablesince March 2024
MDN The padding-block-endCSS property defines the logical block end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
<section id="default-example"> <div class="transition-all" id="example-element"> <div class="box"> Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy lies a small unregarded yellow sun. </div> </div></section>
Syntax
<'padding-top'>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
0
Applies to
Same as padding-top
Inherited
no
Percentages
As for the corresponding physical property
Computed value
Same as corresponding padding-* properties
Canonical order
per grammar
Animation type
by computed value type
Browser support
First browser version supporting padding-block-end
Chrome
69
Edge
79
Firefox
41
Safari
12.1
Chrome Android
69
Safari iOS
12.2
First version with support, from MDN browser-compat-data.
PropertyBaseline: widely availablesince March 2024
MDN The padding-block-startCSS property defines the logical block start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
<section id="default-example"> <div class="transition-all" id="example-element"> <div class="box"> Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy lies a small unregarded yellow sun. </div> </div></section>
Syntax
<'padding-top'>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
0
Applies to
Same as padding-top
Inherited
no
Percentages
As for the corresponding physical property
Computed value
Same as corresponding padding-* properties
Canonical order
per grammar
Animation type
by computed value type
Browser support
First browser version supporting padding-block-start
Chrome
69
Edge
79
Firefox
41
Safari
12.1
Chrome Android
69
Safari iOS
12.2
First version with support, from MDN browser-compat-data.
PropertyBaseline: widely availablesince March 2024
MDN The padding-inlineCSSshorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.
<section id="default-example"> <div class="transition-all" id="example-element"> <div class="box"> Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy lies a small unregarded yellow sun. </div> </div></section>
Syntax
<'padding-top'>{1,2}
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
PropertyBaseline: widely availablesince March 2024
MDN The padding-inline-endCSS property defines the logical inline end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
<section id="default-example"> <div class="transition-all" id="example-element"> <div class="box"> Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy lies a small unregarded yellow sun. </div> </div></section>
Syntax
<'padding-top'>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
0
Applies to
Same as padding-top
Inherited
no
Percentages
As for the corresponding physical property
Computed value
Same as corresponding padding-* properties
Canonical order
per grammar
Animation type
by computed value type
Browser support
First browser version supporting padding-inline-end
Chrome
69
Edge
79
Firefox
41
Safari
12.1
Chrome Android
69
Safari iOS
12.2
First version with support, from MDN browser-compat-data.
PropertyBaseline: widely availablesince March 2024
MDN The padding-inline-startCSS property defines the logical inline start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
<section id="default-example"> <div class="transition-all" id="example-element"> <div class="box"> Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy lies a small unregarded yellow sun. </div> </div></section>
Syntax
<'padding-top'>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
0
Applies to
Same as padding-top
Inherited
no
Percentages
As for the corresponding physical property
Computed value
Same as corresponding padding-* properties
Canonical order
per grammar
Animation type
by computed value type
Browser support
First browser version supporting padding-inline-start
Chrome
69
Edge
79
Firefox
41
Safari
12.1
Chrome Android
69
Safari iOS
12.2
First version with support, from MDN browser-compat-data.