CSS padding-bottom Property


Padding is the space between an element's content and its border. The padding-bottom CSS property specifies the height of an element's padding area at the bottom.

Syntax

Example

Preview

Property Values

Value Description
length Specifies a fixed bottom padding in pixels, points, centimeters, and so on. The default value is zero. Learn more about length units.
% Sets the bottom padding as a percentage of the width of the containing element.
initial This property is set to its default value.
inherit This property is inherited from its parent element.

Supported Browsers

Property Chrome Firefox Safari Edge / IE Opera
padding-bottom 1.0 1.0 1.0 4.0 3.5