Menu Riverview Church

MARGIN-BLOCK-START

The margin-block-start property corresponds to the margin-top property.

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

SYNTAX

CSS

margin-block-start: value;

JS

object.style.marginBlockStart = "value";

VALUES

<'margin-block-start'> = <'margin-top'>
<'margin-top'> = <length-percentage> | auto
<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 (%).

auto

Automatically specified by the user agent.

INITIAL

0

EXAMPLES

AUTO

LENGTH

PERCENTAGE

JS

INTERNAL

margin-block

margin-block-end

margin-inline

margin-inline-end

margin-inline-start

EXTERNAL

World Wide Web Consortium (W3C)