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

inset-block

Description

The inset-block property for CSS 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

1 · auto

2 · length

3 · percentage

4 · JS