padding-bottom property

Description

CSS padding-bottom property represents space between the bottom sides of content and the border areas. It increases the height of a box more than usual.

Negative values are not allowed.

Syntax

padding-bottom :+ve length

Property values

length Default

There is no space between the bottom side border and content area.

padding-bottom: 0;

+ve length

There is 30px space between bottom side border and content area. The height of box increases by 30px due to padding-bottom.

padding-bottom: 10px;

Applicable to

It applies to all elements other than internal table elements.

#CSS digger
Was this article helpful?

 
arrow
padding-bottom increases the height of a box more than usual.
×

Ctrl+D