CSS border-block-end-width property


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

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

  • The end side represents left or right side for the vertical-rl or vertical-lr writing-mode respectively.

Change the direction of flow of text.

horizontal-tb vertical-lr vertical-rl


border-block-end-width : medium | thin | thick | +ve length

Property values


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

border-block-end-width: medium;


thin value defines thin line border.

border-block-end-width: thin;


thick value defines a thick line border.

border-block-end-width: thick;

+ve length

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

border-block-end-width: 10px;

Applicable to

It applies to all elements

#CSS digger
Was this article helpful?

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