text-decoration-skip-ink - CSS | text-decoration-skip-ink
Thetext-decoration-skip-inkCSS[1]propertyspecifieshowoverlinesandunderlinesaredrawnwhentheypassoverglyphascendersanddescenders.text-decoration-skip-inkisnotpartofthetext-decoration[2]shorthand.text-decoration-skip-ink:none;text-decoration-skip-ink:auto;text-decoration-skip-ink:all;text-decoration-skip-ink:inherit;text-decoration-skip-ink:initial;text-decoration-skip-ink:revert;text-decoration-skip-ink:revert-layer;text-decoration-skip-ink:unset;Values[3]noneUnderlinesandoverlinesaredrawnacro...
The text-decoration-skip-ink CSS[1] property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders.
text-decoration-skip-ink is not part of the text-decoration[2] shorthand.
text-decoration-skip-ink: none; text-decoration-skip-ink: auto; text-decoration-skip-ink: all; text-decoration-skip-ink: inherit; text-decoration-skip-ink: initial; text-decoration-skip-ink: revert; text-decoration-skip-ink: revert-layer; text-decoration-skip-ink: unset; Values[3]noneUnderlines and overlines are drawn across the full length of the text content, including parts that cross over glyph descenders and ascenders.
autoThe default — the browser may interrupt underlines and overlines so that they do not touch or closely approach a glyph. That is, they are interrupted where they would otherwise cross over a glyph.
allThe browser must interrupt underlines and overlines so that they do not touch or ...