Menu Riverview Church

MARGIN-INLINE

The margin-inline property is shorthand for margin-inline-start and margin-inline-end.

SYNTAX

CSS

margin-inline: value;

JS

object.style.marginInline = "value";

VALUES

<'margin-inline'> = <'margin-top'>{1,2}
<'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.

EXAMPLES

AUTO

LENGTH

PERCENTAGE

JS

INTERNAL

margin-block

margin-block-end

margin-block-start

margin-inline-end

margin-inline-start

EXTERNAL

World Wide Web Consortium (W3C)