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-style

Summary

Specifies the line style for overline text decoration.

Overview table

Initial value
none
Applies to
all elements with and generated content with textual content
Inherited
No
Media
visual
Computed value
specified value (except for initial and inherit)
Animatable
No

CSS Object Model Property
:

Syntax

  • text-overline-style: dashed
  • text-overline-style: dot-dash
  • text-overline-style: dot-dot-dash
  • text-overline-style: dotted
  • text-overline-style: double
  • text-overline-style: none
  • text-overline-style: solid
  • text-overline-style: wave

Values

none
Produces no line.
solid
Produces a solid line.
double
Produces a double line.
dotted
Produces a dotted line.
dashed
Produces a dashed line style.
dot-dash
Produces a line whose repeating pattern is a dot followed by a dash.
dot-dot-dash
Produces a line whose repeating pattern is two dots followed by a dash.
wave
Produces a wavy line.

Examples

Incomplete because no browser has implemented this property.

p {
  text-overline-style: wavy;
}

View live example

Notes

Not implemented in any browser.

Related specifications

CSS3 Text Module
Candidate Recommendation