CSS border-inline-start-width property

Description

CSS border-inline-start-width is a logical property that property defines width for the start side of a block. The selection of start side depends upon the writing-mode.

  • The start side represents left side for the horizontal-tb writing-mode.

  • The start side represents top or bottom side for the vertical-lr or vertical-rl writing-mode respectively.

Change the direction of flow of text.

horizontal-tb vertical-lr vertical-rl

Syntax

border-inline-start-width : medium | thin | thick | +ve length

Property values

mediumDefault

medium value represents medium sized border. thin ≤ medium ≤ thick

border-inline-start-width: medium;

thin

thin value defines thin line border.

border-inline-start-width: thin;

thick

thick value defines a thick line border.

border-inline-start-width: thick;

+ve length

length defines the line width of border. The used units might be px, in, em, pt.

border-inline-start-width: 10px;

Applicable to

It applies to all elements

#CSS digger
Was this article helpful?

 
Check the behavior of border-inline-start-width for different values of writing mode.
×

Ctrl+D