margin-block-end

The margin-block-end CSS property corresponds to the margin-bottom property.

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

Syntax

CSS

margin-block-end: value;

JS

object.style.marginBlockEnd = "value";

Values

<'margin-block-end'> = <'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-start

margin-inline

margin-inline-end

margin-inline-start

External

World Wide Web Consortium (W3C)

Home Menu