text-indent: each-lineBaseline · Newly available
The text-indent: each-line CSS declaration indents text after forced breaks as well as to the first line of a block.
Works in the latest version of every major browser, but older devices may not support it yet. Baseline since Mar 13, 2026.
Browser support
DesktopChrome
1–145Not supported
146+Supportedsince Mar 10, 2026
Current: 155Edge
12–145Not supported
146+Supportedsince Mar 13, 2026
Current: 154Firefox
1–120Not supported
121+Supportedsince Dec 19, 2023
Current: 157Safari
1–14.1Not supported
15+Supportedsince Sep 20, 2021
Current: 27MobileChrome Android
18–145Not supported
146+Supportedsince Mar 10, 2026
Current: 155Firefox Android
4–120Not supported
121+Supportedsince Dec 19, 2023
Current: 157Safari iOS
1–14.5Not supported
15+Supportedsince Sep 20, 2021
Current: 27How to use
Every current browser supports this, but it only became Baseline on Mar 13, 2026. Use it as a progressive enhancement, or keep a fallback if you support older devices.
Example
Full syntax and examples are on MDN — see the links below.
Feature detection
CSS · check before using
@supports (text-indent: each-line) {
/* styles that rely on text-indent: each-line */
}
/* or in JavaScript */
if (CSS.supports("text-indent", "each-line")) {
// use it
}