HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

padding-block-start

Description

The padding-block-start property for CSS corresponds to the padding-top property.

The mapping depends on the element's writing-mode, direction, and text-orientation.

Syntax

CSS

padding-block-start: value;

JS

object.style.paddingBlockStart = "value";

Values

<'padding-block-start'> = <'padding-top'>
<'padding-top'> = <length-percentage>
<length-percentage> =
    <length> |
    <percentage>
<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

Initial

0

Examples

1 · auto

2 · length

3 · percentage

4 · JS