Widely available Supported across all major browsers. Safe to use in production.

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

Auto(default)

CSS Auto(default) demo.

PreviewFullscreen

None

CSS None demo.

PreviewFullscreen

All(allcharactershapetimes)

CSS All(allcharactershapetimes) demo.

PreviewFullscreen

Use cases

  • Using text-decoration-skip-ink

    The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders.

Cautions

  • May not be supported in older browsers.

Accessibility

  • Make sure visual changes are conveyed appropriately to assistive technology.