border-inline-style
Widely availableSince 202197% of users
Sets the line style for both inline-dimension borders (left and right) with one declaration. Using 'solid' is the standard for defining box boundaries.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since April 2021. Widely available since October 2023.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
none- Inherited
- No
- Applies to
- all elements
- Animation type
- discrete
Quick example
.tag {
border-inline-style: solid;
border-inline-width: 1px;
border-inline-color: #ddd;
padding: 2px 8px;
}Values
border-top-styleborder-inline-style browser support
BaselineWidely availableThis 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.
Usage97%of people can use this3% use a browser without it.
Browsers
87+
66+
14.1+
87+Mobile
87+Android
66+Android
14.5+iOS