border-block-end-width

Defines the thickness of the logical 'end' border. This is a modern replacement for 'border-bottom-width' that adapts to different writing modes.

It is documented as part of the CSS Logical Properties and Values specification.

/* Usage Example */
.card {
  /* Adds a thick 5px accent border to the bottom */
  border-block-end-width: 5px;
  border-block-end-style: solid;
  border-block-end-color: #7c3aed;
}

/* Syntax */
border-block-end-width: border-top-width;

/* Global values */
border-block-end-width: inherit;
border-block-end-width: initial;
border-block-end-width: revert;
border-block-end-width: revert-layer;
border-block-end-width: unset;
Widely available Since 2021 95% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2021.

69+
41+
12.1+
79+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC