This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The border-block-end-style CSS property defines the style of the logical block end border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-styleborder-right-styleborder-bottom-style, or border-left-style property depending on the values defined for writing-mode, direction, and text-orientation.

/* <'border-style'> values */
border-block-end-style: dashed;
border-block-end-style: dotted;
border-block-end-style: groove;

Related properties are border-block-start-styleborder-inline-start-style, and border-inline-end-style, which define the other border styles of the element.

Initial valuenone
Applies toall elements
Computed valueas specified
Animation typediscrete
Canonical orderthe unique non-ambiguous order defined by the formal grammar



The line style of the border. See border-style.

Formal syntax



HTML Content

  <p class="exampleText">Example text</p>

CSS Content

div {
  background-color: yellow;
  width: 120px;
  height: 120px;

.exampleText {
  writing-mode: vertical-lr;
  border: 5px solid blue;
  border-block-end-style: dashed;


Specification Status Comment
CSS Logical Properties and Values Level 1
The definition of 'border-block-end-style' in that specification.
Editor's Draft Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No ?


38 — 511

No No No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidIE mobileOpera AndroidiOS Safari
Basic support No ? ?


38 — 511

No No No

1. From version 38 until version 51 (exclusive): this feature is behind the layout.css.vertical-text.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.


See also


Document Tags and Contributors

 Contributors to this page: ddbeck, mfluehr, elysdir1, teoli, Sebastianz, fscholz, jsx, kscarfone
 Last updated by: ddbeck,