This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

text-overline-width

Summary

Specifies the line width for the overline text decoration.

Overview table

Initial value
auto
Applies to
all elements with and generated content with textual content
Inherited
No
Media
visual
Computed value
see prose
Animatable
No

CSS Object Model Property
:

Syntax

  • text-overline-width: <length>
  • text-overline-width: <number>
  • text-overline-width: <percentage>
  • text-overline-width: auto
  • text-overline-width: medium
  • text-overline-width: normal
  • text-overline-width: thick
  • text-overline-width: thin

Values

auto
The user agent may use any algorithm to determine the text decoration width. The computed value is 'auto’.
normal
The text decoration width is the normal text decoration width for the nominal font. The computed value is 'normal’.
<number>
The text decoration width is the product of the <number> and the computed 'font-size’. The computed value is '<number>’.
<length>
The text decoration width is the length. The computed value is the corresponding absolute <length>.
<percentage>
The text decoration width is the product of the <percentage> and the computed 'font-size’. The computed value is the absolute <length>.
thin
Generates a thin line. The computed value is 'thin’.
medium
Generates a medium line. The computed value is 'medium’.
thick
Generates a thick line. The computed value is 'thick’.

Examples

Example incomplete because no browser implementation exists.

p {
  text-overline-width: thick;
}

View live example

Related specifications

CSS3 Text Module
Candidate Recommendation