Menu Home

padding-bottom

osbo.com | CSS | Properties | padding-bottom

The padding-bottom CSS property sets the bottom padding of a box.

Syntax

CSS

padding-bottom: value;

JS

object.style.paddingBottom = "value";

Values

<'padding-bottom'> = <length-percentage>
<length-percentage> = [ <length> | <percentage> ]
<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

Initial

0

Examples

length

percentage

JS

Internal

padding

padding-left

padding-right

padding-top

External

World Wide Web Consortium (W3C)