border-inline-style

Sets the line style for both inline-dimension borders (left and right) with one declaration. Using 'solid' is the standard for defining box boundaries.

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

/* Usage Example */
.tag {
  border-inline-style: solid;
  border-inline-width: 1px;
  border-inline-color: #ddd;
  padding: 2px 8px;
}

/* Syntax */
border-inline-style: border-top-style;

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

87+
66+
14.1+
87+
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