CSS padding-block Property Reference

The CSS padding-block property is a standard property in CSS Logical Properties and Values. Review its formal syntax, computed behavior, and practical declarations.

CSS padding-block Property Reference

The CSS padding-block property is a standard property in CSS Logical Properties and Values. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

padding-block overview

The CSS padding-block property is a standard property in CSS Logical Properties and Values. 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-block formal syntax
FieldValue
Formal syntax<'padding-top'>{1,2}
Initial valuepadding-block-start, padding-block-end
Applies toallElementsExceptInternalTableDisplayTypes
InheritedNo
PercentageslogicalWidthOfContainingBlock
Computed valuepadding-block-start, padding-block-end
Animation typelength
Mediavisual
Specification groupCSS Logical Properties and Values
StatusStandard

Practical examples

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

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

Description

The CSS padding-block property is a standard property in CSS Logical Properties and Values. Review its formal syntax, computed behavior, and practical declarations.

References

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

Similar or alternative tools

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