padding-bottom

The padding-bottom CSS property sets the height of the padding area on the bottom of an element.

Example

Initial value 0
Applies to all elements, except table-row-group, table-header-group, table-footer-group, table-row, table-column-group and table-column. It also applies to ::first-letter and ::first-line.

Syntax

  
padding-bottom: 2em;
  

Values

The size of the padding as a fixed value. Must be nonnegative.
The size of the padding as a percentage, relative to the width of the containing block. Must be nonnegative.

Browser support

padding-bottom112143.51

We use cookies to improve your experience. Learn more in our Privacy policy.

×