text-decoration-skip-ink
The text-decoration-skip-ink CSS property sets whether underlines and overlines may be interrupted where the line would cross a glyph.
Overview
The text-decoration-skip-ink CSS property sets whether underlines and overlines may be interrupted where the line would cross a glyph.
Browser support
| Feature | Desktop | Mobile | ||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Safari | Chrome Android | Safari iOS | |
| 64 | 79 | 70 | 15.4 | 64 | 15.4 | |
auto | 64 | 79 | 70 | 15.4 | 64 | 15.4 |
none | 64 | 79 | 70 | 15.4 | 64 | 15.4 |
1+Supported (version) Not supported ※Has note Sub-feature descriptions sourced from MDN Web Docs (CC BY-SA 2.5)
Syntax
CSS
a {
text-decoration: underline;
text-decoration-skip-ink: auto;
} Live demo
Use cases
Using text-decoration-skip-ink
The text-decoration-skip-ink CSS property sets whether underlines and overlines may be interrupted where the line would cross a glyph.
Cautions
- May not be supported in older browsers.
Accessibility
- Make sure visual changes are conveyed appropriately to assistive technology.
Related links
Powered by web-features