Menu Samaritan's Purse

INSET-BLOCK

The inset-block property is shorthand for inset-block-start and inset-block-end.

SYNTAX

CSS

inset-block: value;

JS

object.style.insetBlock = "value";

VALUES

<'inset-block'> = <'top'>{1,2}
<'top'> = auto | <length-percentage>
auto

Automatically specified by the user agent.

<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

auto

EXAMPLES

AUTO

LENGTH

PERCENTAGE

JS

INTERNAL

inset

inset-block-end

inset-block-start

inset-inline

inset-inline-end

inset-inline-start

EXTERNAL

World Wide Web Consortium (W3C)