CSS Padding-bottom Property
The padding-bottom property of CSS is used to control bottom-padding of HTML elements.
The padding-bottom property of CSS is used to set the bottom-padding of a given element. All elements can have a padding.
Possible Values
- auto (Default)
- Units of Measurement
Note: Negative values is not allowed for padding.
Padding-bottom Example:
This Example sets the bottom-padding of all paragraphs to 3em, meaning it will have a space of 3em, from its bottom-edge, to its content.
p {
padding-bottom: 3em;
}Inherited? NO!