CSS padding-bottom Property Tutorial

In this section, we will learn what the padding-bottom property is and how to use it in CSS.

CSS padding-bottom Property Definition and Usage

The CSS `padding-bottom` property is used to set the bottom padding of an element in an HTML document.

CSS padding-bottom Property Syntax

padding-bottom: length|auto|initial|inherit;

CSS padding-bottom Property Value

The value of this property is a number with relative, or absolute units supported in CSS.

Note: you could also use the two global values “initial” and “inherit” for this property.

Example: padding-bottom in CSS

See the Pen padding-bottom in CSS by Enjoy Tutorials (@enjoytutorials) on CodePen.

Facebook
Twitter
Pinterest
LinkedIn

Top Technologies