CSS border-inline-end-width property

Description

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

  • The end side represents right side for the horizontal-tb writing-mode.

  • The end side represents bottom or top 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-end-width : medium | thin | thick | +ve length

Property values

mediumDefault

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

border-inline-end-width: medium;

thin

thin value defines thin line border.

border-inline-end-width: thin;

thick

thick value defines a thick line border.

border-inline-end-width: thick;

+ve length

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

border-inline-end-width: 10px;

Applicable to

It applies to all elements

#CSS digger
Was this article helpful?

 
Check the behavior of border-inline-end-width for different value of writing mode.
×

Ctrl+D