You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{margin, padding}-{bottom, left, right, top}
If the property applies to the element or pseudo-element and the resolved value of the display property is not none or contents, then the resolved value is the used value. Otherwise the resolved value is the computed value.
https://drafts.csswg.org/cssom/#resolved-values
For preferred sizes: https://drafts.csswg.org/css-sizing-3/#preferred-size-properties
For margin properties: https://drafts.csswg.org/css-box-4/#margin-physical
For padding properties: https://drafts.csswg.org/css-box-4/#padding-physical
However, I tried to set them to a percentage:
margin-top: 25%
display: table-row
25%
0px
25px
0px
display: table-row-group
25%
0px
25px
0px
display: table-header-group
25%
0px
25px
0px
display: table-footer-group
25%
0px
25px
0px
display: table-column
25%
0px
0px
0px
display: table-column-group
25%
0px
0px
0px
display: table-cell
25%
0px
0px
0px
display: table-caption
<length>
1428px
25px
25px
display: inline
<length>
476px
25%
25%
padding-top: 25%
display: table-row
25%
0px
25px
25px
display: table-row-group
25%
0px
25px
25px
display: table-header-group
25%
0px
25px
25px
display: table-footer-group
25%
0px
25px
25px
display: table-column
25%
0px
0px
0px
display: table-column-group
25%
0px
0px
0px
display: table-cell
25px
25px
25px
25px
display: table-caption
<length>
1428px
25px
25px
display: inline
<length>
476px
25%
25%
height: 200%
display: table-row
100px
100px
50px
50px
display: table-row-group
100px
100px
50px
50px
display: table-header-group
100px
100px
50px
50px
display: table-footer-group
100px
100px
50px
50px
display: table-column
0px
0px
0px
0px
display: table-column-group
0px
0px
0px
0px
display: table-cell
100px
100px
100px
100px
display: table-caption
100px
100px
100px
100px
display: inline
200%
200%
200%
200%
The text was updated successfully, but these errors were encountered: