CSS padding-left Property

Padding is the space between the content and the border of a container. The padding-left CSS property specifies the width of the padding area to the left of an element.




Property Values

Value Description
length Specifies a fixed left padding in pixels, points, centimeters, and so on. The default value is zero. Learn more about length units.
% Sets the left 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-left 1.0 1.0 1.0 4.0 3.5