border-block-start-style

Determines the line style (solid, dashed, etc.) for the 'start' side border. In standard western layouts, this is the top border.

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

/* Usage Example */
article {
  border-block-start-style: dotted;
  border-block-start-width: 2px;
  border-block-start-color: #94a3b8;
}

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

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