border-block-style

Sets the line style for both block-dimension borders (top and bottom) with one declaration. Using 'solid' is the most common way to define these boundaries.

Quick example

.content-block {
  border-block-style: solid;
  border-block-width: 1px;
  border-block-color: #ccc;
}

Quick facts

Initial value
none
Inherited
No
Applies to
all elements
Animation type
discrete

Values

border-top-style

border-block-style Browser Support

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.

Safe to use without fallbacks.

87+
66+
14.1+
87+
ESC