border-block-width

The border-block-width CSS property is shorthand for border-block-start-width and border-block-end-width.

Syntax

CSS

border-block-width: value;

JS

object.style.borderBlockWidth = "value";

Values

<'border-block-width'> = <'border-top-width'>{1,2}
<'border-top-width'> = <line-width>
<line-width> = <length [0,∞]> | thin | medium | thick
<length>

Specifies the length using a number followed by a unit of measurement.

thin

A thin line.

medium

A medium line.

thick

A thick line.

Initial

medium

Examples

length

medium

thick

thin

JS

Internal

border-block

border-block-color

border-block-end

border-block-end-color

border-block-end-style

border-block-end-width

border-block-start

border-block-start-color

border-block-start-style

border-block-start-width

border-block-style

External

World Wide Web Consortium (W3C)

Home Menu