CSS · Properties — CSS Logical Properties and Values

border-block-width

The CSS border-block-width property. Initial value: border-block-start-width,border-block-end-width. Not inherited.

Syntax
border-block-width: <'border-top-width'>{1,2}

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: border-block-start-width,border-block-end-width.

More in this group

block-size border-block border-block-color border-block-end border-block-end-color border-block-end-style border-block-end-width border-block-start

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course