border-block-end-style

Specifies whether the 'end' block border is solid, dashed, dotted, etc. In standard horizontal English text, this corresponds to the bottom border style.

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

/* Usage Example */
.divider {
  /* Creates a dashed line at the bottom of the element */
  border-block-end-style: dashed;
  border-block-end-width: 2px;
  border-block-end-color: #cbd5e1;
}

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

/* Global values */
border-block-end-style: inherit;
border-block-end-style: initial;
border-block-end-style: revert;
border-block-end-style: revert-layer;
border-block-end-style: 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