Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 425 Bytes

padding.md

File metadata and controls

19 lines (14 loc) · 425 Bytes

padding

The padding CSS shorthand property sets the padding area on all four sides of an element at once.

Values

<length>
The size of the padding as a fixed value.
<percentage>
The size of the padding as a percentage, relative to the width of the containing block.

Examples

padding="20px 50px"
padding="110px 50px 50px 110px"