CSS · Properties — CSS Box Model

padding-bottom

The CSS padding-bottom property. Initial value: 0. Not inherited.

Syntax
padding-bottom: <length-percentage [0,∞]>

Example

Try it

Notes

Media: visual. Applies to: allElementsExceptInternalTableDisplayTypes. Computed value: percentageAsSpecifiedOrAbsoluteLength.

More in this group

margin-trim padding-left padding-right padding-top

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course