text-decoration-skip-ink
Controls how underlines are drawn when they cross the 'descenders' of characters (like the tails on 'g', 'j', or 'p'). Setting it to 'auto' makes the line skip over the tails for a cleaner look.
Usage example
p {
text-decoration: underline;
/* Ensures the underline doesn't cut through the tails of letters like 'y' or 'q' */
text-decoration-skip-ink: auto;
} Initial value
auto
Inherited
Yes
Applies to
allElements
Animation type
discrete
Values
autoallnone text-decoration-skip-ink Browser Support
Widely available Since 2015 95% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.
Safe to use without fallbacks.
64+
70+
15.4+
79+