line-breakBaseline · Widely available
The line-break CSS property sets how strictly to apply rules for wrapping text to new lines, especially for symbols and punctuation.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jul 28, 2020. Widely available since Jan 28, 2023.
Browser support
DesktopChrome
1–81Not supported
83+Supportedsince May 19, 2020
Current: 155Edge
12–81Not supported
83+Supportedsince May 21, 2020
Current: 154Firefox
1–68Not supported
69+Supportedsince Sep 3, 2019
Current: 157Safari
1–12.1Not supported
13+Supportedsince Sep 19, 2019
Current: 27MobileChrome Android
18–81Not supported
83+Supportedsince May 19, 2020
Current: 155Firefox Android
4–68Not supported
79+Supportedsince Jul 28, 2020
Current: 157Safari iOS
1–12.2Not supported
13+Supportedsince Sep 19, 2019
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: line-break.
Feature detection
CSS · check before using
@supports (line-break: initial) {
/* styles that rely on line-break */
}
/* or in JavaScript */
if (CSS.supports("line-break", "initial")) {
// use it
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (6). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| line-break | 58 | 14 | 69 | 11 | 58 | 79 | 11 |
| line-break.anywhere | 83 | 83 | 69 | 13 | 83 | 79 | 13 |
| line-break.auto | 58 | 79 | 69 | 11 | 58 | 79 | 11 |
| line-break.loose | 58 | 79 | 69 | 11 | 58 | 79 | 11 |
| line-break.normal | 58 | 79 | 69 | 11 | 58 | 79 | 11 |
| line-break.strict | 58 | 79 | 69 | 11 | 58 | 79 | 11 |