text-decoration-skip-spacesLimited availability
The text-decoration-skip-spaces CSS property sets whether text decoration lines (such as underlines and overlines) skip over whitespace characters. You can use this to prevent decorations from being drawn under spaces, which is sometimes more visually appealing.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
1–154Not supported
155+Supportedsince Oct 6, 2026
Current: 155Edge
✕Not supportedup to 154
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
✕Not supportedup to 27
Current: 27MobileChrome Android
✕Not supportedup to 155
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
✕Not supportedup to 27
Current: 27How to use
Not supported in Edge, Firefox, Safari, Chrome Android, Firefox Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN — see the links below.
Feature detection
CSS · check before using
@supports (text-decoration-skip-spaces: initial) {
/* styles that rely on text-decoration-skip-spaces */
}
/* or in JavaScript */
if (CSS.supports("text-decoration-skip-spaces", "initial")) {
// use it
}Sub-features
Support for each part of the feature (5). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| text-decoration-skip-spaces | 155 | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ |
| text-decoration-skip-spaces.all | 155 | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ |
| text-decoration-skip-spaces.end | 155 | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ |
| text-decoration-skip-spaces.none | 155 | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ |
| text-decoration-skip-spaces.start | 155 | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ |