HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

text-underline-offset

Description

The text-underline-offset property for CSS sets the offset of underlines from their zero position.

Syntax

CSS

text-underline-offset: value;

JS

object.style.textUnderlineOffset = "value";

Values

<'text-underline-offset'> = auto | <length> | <percentage>
auto

Automatically specified by the user agent.

<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

Initial

auto

Examples

1 · auto

2 · length

3 · percentage

4 · JS