CSS padding-left Property Reference

The CSS padding-left property is a standard property in CSS Box Model. Review its formal syntax, computed behavior, and practical declarations.

CSS padding-left Property Reference

The CSS padding-left property is a standard property in CSS Box Model. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

padding-left overview

The CSS padding-left property is a standard property in CSS Box Model. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

padding-left formal syntax
FieldValue
Formal syntax<length-percentage [0,∞]>
Initial value0
Applies toallElementsExceptInternalTableDisplayTypes
InheritedNo
PercentagesreferToWidthOfContainingBlock
Computed valuepercentageAsSpecifiedOrAbsoluteLength
Animation typelength
Mediavisual
Specification groupCSS Box Model
StatusStandard

Practical examples

These declarations demonstrate valid ways to set padding-left. The initial and inherit global keywords remain available even when a property-specific value is preferable.

padding-left live example
CSS .reset-example { padding-left: initial; } .inherit-example { padding-left: inherit; } @supports (padding-left: initial) { .supported { padding-left: initial; } }

Description

The CSS padding-left property is a standard property in CSS Box Model. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: padding-left
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies