border-inline
Widely availableSince 202197% of users
The logical shorthand for setting width, style and color for both the 'start' and 'end' borders in the inline dimension (left and right in LTR).
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
See individual properties- Inherited
- No
- Applies to
- all elements
Quick example
.button-alt {
/* Logical equivalent of setting both left and right borders */
border-inline: 4px solid #000;
padding: 0.5rem 1rem;
}Values
border-block-startborder-inline 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