CSS text-decoration-skip-ink Property

❮ Previous Reference Next ❯


p {
  font:1.9em Georgia,serif;

.no-skip-ink {
  text-decoration-skip-ink: none;

.skip-ink-all {
  text-decoration-skip-ink: all;



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

Default value:auto
JavaScript syntax:

Standard Syntax

text-decoration-skip-ink: none|auto|all|initial|inherit|revert|revert-layer|unset;

Browser Support


Property Values

The following table describes the values of this property:

Value Description
none Underlines and overlines are drawn across the full length of the text content, including parts that cross over glyph descenders and ascenders.
auto The 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.
all The browser must interrupt underlines and overlines so that they do not touch or closely approach a glyph. This can be helpful with certain Chinese, Japanese, or Korean (CJK) fonts, where the auto behavior might not create interruptions.
initial Sets this property to its default value.
inherit If specified, the associated element takes the computed value of its parent element animation-delay property.
revert Reverts the cascaded value of the property from its current value to the value the property
revert-layer Rollback styles to the ones specified in previous cascade layers.
unset Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not.

Default CSS Property Values

selectors {
  text-decoration-skip-ink: auto;
❮ Previous Reference Next ❯