border-inline-start-style

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

The border-inline-start-style CSS property defines the style of the logical inline start 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.

Syntax

/* <'border-style'> values */
border-inline-start-style: dashed;
border-inline-start-style: dotted;
border-inline-start-style: groove;

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

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

Values

<'border-style'>
The line style of the border. See border-style.

Formal syntax

<'border-style'>

Example

HTML Content

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

CSS Content

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

.exampleText {
  writing-mode: vertical-lr;
  border: 5px solid blue;
  border-inline-start-style: dashed;
}

Specification

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

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic support
Experimental
Chrome Full support 69Edge No support NoFirefox Full support 41
Full support 41
Full support 38
Notes Disabled
Notes Enabled by default since Firefox 41.
Disabled From version 38: 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.
Full support Yes
Alternate Name
Alternate Name Uses the non-standard name: -moz-border-start-style
IE No support NoOpera Full support 56Safari No support NoWebView Android Full support 69Chrome Android ? Edge Mobile No support NoFirefox Android Full support 41
Full support 41
Full support 38
Notes Disabled
Notes Enabled by default since Firefox 41.
Disabled From version 38: 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.
Full support Yes
Alternate Name
Alternate Name Uses the non-standard name: -moz-border-start-style
Opera Android Full support 56Safari iOS No support NoSamsung Internet Android ?

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.
See implementation notes.
See implementation notes.
User must explicitly enable this feature.
User must explicitly enable this feature.
Uses a non-standard name.
Uses a non-standard name.

See also

Document Tags and Contributors

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