CSS Properties

User Guide / CSS Reference / CSS Properties

padding

Syntax

padding: [ length | percent ] {1..4}

Default

0

Inherited

No

Comments

The padding property is a shorthand for setting the following CSS properties:

padding-bottom
padding-left
padding-right
padding-top