CSS padding-block-start Property
Description
The padding-block-start property controls the padding on the start edge of an element’s block axis — in other words, the padding that appears at the beginning of the block dimension for that element. Because it is a logical property, its effect follows the element’s writing direction and block flow rather than being tied to a fixed physical edge like "top" or "left." This makes it useful for writing-mode–aware layouts where the visual start of a block might be the top, bottom, left, or right depending on language and layout orientation.
This padding is part of the element’s box: it expands the space between the element’s content and its border, influences layout and hit-testing, and is included when painting backgrounds (backgrounds extend into the padding area). Unlike margins, padding does not collapse with adjacent elements’ padding; it simply increases the element’s internal spacing. The rendered size behavior can interact with other layout controls such as box-sizing and how overflowing content is handled via overflow.
In practical terms, padding-block-start is commonly used alongside logical shorthands and counterparts to create direction-agnostic spacing. It pairs conceptually with the shorthand padding and with its physical counterpart padding-top when targeting a specific physical edge. When designing for internationalization or dynamic layout changes, this property works with writing and direction settings such as writing-mode and direction, and is often considered together with related block-axis spacing properties like margin-block-start.
Definition
- Initial value
- 0
- Applies to
- all elements, except table-row-group, table-header-group, table-footer-group, table-row, table-column-group and table-column
- Inherited
- no
- Computed value
- as <length>
- Animatable
- a length
- JavaScript syntax
- object.style.paddingBlockStart
Interactive Demo
Syntax
padding-block-start: <padding-top>
Values
- <padding-top> Specifies padding-block-start in px, pt, cm, etc. Negative values are not allowed.
Example
Browser Support
The following information will show you the current browser support for the CSS padding-block-start property. Hover over a browser icon to see the version that first introduced support for this CSS property.
This property is supported by all modern browsers.
Desktop
Tablets & Mobile
Last updated by CSSPortal on: 1st January 2026
