Padding

Properties related to padding

Padding extends the background, creating a space between the content of an element and its borders.

FieldValue
CascadesNo
Default value0

Padding can be set individually with these properties:

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

Or defined with the padding shorthand.

See also