Widely availableSupported across all major browsers. Safe to use in production.

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

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 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.

Powered by web-features