Web4College

padding-bottom property

src

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

0

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

padding-bottom: 0;
Try it

+ve length

10

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;
Try it

Applicable to

It applies to all elements other than internal table elements.