text-decoration

Draft

Definition

text-decoration is shorthand for a variety of other CSS properties used to control the decorative appearance of lines under text on a given HTML element.

In most cases, you’ll be using text-decoration to set the text-decoration-style.

By using shorthand, you are providing a lot more information to the text-decoration property. The shorthand is composed of the following:

text-decoration:
  <text-decoration-line>,
  <text-decoration-color>,
  <text-decoration-style>,
  <text-decoration-thickness>

Related posts