text-decoration-style

Class Description

decoration-solid

Sets text-decoration-style: solid.

CSS Rules

.decoration-solid {
  text-decoration-style: solid;
}

Usage

<element class="decoration-solid" />

Responsive

Prefix .decoration-solid utility with a breakpoint variant (e.g., md:) to apply styles at specific screen sizes (Supported breakpoints are xm through 2xl).

<element class="md:decoration-solid" />

States

States are generated dynamically at runtime and always come last. Append a state like :hover or :focus to the end of the class. This works in conjunction with breakpoints .

Supported pseudo-classes: :hover, :active, :focus, :focus-visible, :focus-within, :target, :checked, :disabled, and :group-hover.

<element class="decoration-solid:hover" />

Group Hover Example

The :group-hover state applies styles when a parent element with the .group class is hovered.

<element class="group">
  <element class="decoration-solid:group-hover">...</element>
</element>

Pseudo-Elements

The ::before and ::after utility classes are supported too. Granted that you add the mandatory content-before or content-after class in order for them to work.

<element class="content-before decoration-solid::before" />

<element class="content-after decoration-solid::after" />
.decoration-solid Sets text-decoration-style: solid.

decoration-double

Sets text-decoration-style to double, rendering the decoration as two parallel lines.

CSS Rules

.decoration-double {
  text-decoration-style: double;
}

Usage

<element class="decoration-double" />

Responsive

Prefix .decoration-double utility with a breakpoint variant (e.g., md:) to apply styles at specific screen sizes (Supported breakpoints are xm through 2xl).

<element class="md:decoration-double" />

States

States are generated dynamically at runtime and always come last. Append a state like :hover or :focus to the end of the class. This works in conjunction with breakpoints .

Supported pseudo-classes: :hover, :active, :focus, :focus-visible, :focus-within, :target, :checked, :disabled, and :group-hover.

<element class="decoration-double:hover" />

Group Hover Example

The :group-hover state applies styles when a parent element with the .group class is hovered.

<element class="group">
  <element class="decoration-double:group-hover">...</element>
</element>

Pseudo-Elements

The ::before and ::after utility classes are supported too. Granted that you add the mandatory content-before or content-after class in order for them to work.

<element class="content-before decoration-double::before" />

<element class="content-after decoration-double::after" />
.decoration-double Sets text-decoration-style to double, rendering the decoration as two parallel lines.

decoration-dotted

Sets text-decoration-style: dotted.

CSS Rules

.decoration-dotted {
  text-decoration-style: dotted;
}

Usage

<element class="decoration-dotted" />

Responsive

Prefix .decoration-dotted utility with a breakpoint variant (e.g., md:) to apply styles at specific screen sizes (Supported breakpoints are xm through 2xl).

<element class="md:decoration-dotted" />

States

States are generated dynamically at runtime and always come last. Append a state like :hover or :focus to the end of the class. This works in conjunction with breakpoints .

Supported pseudo-classes: :hover, :active, :focus, :focus-visible, :focus-within, :target, :checked, :disabled, and :group-hover.

<element class="decoration-dotted:hover" />

Group Hover Example

The :group-hover state applies styles when a parent element with the .group class is hovered.

<element class="group">
  <element class="decoration-dotted:group-hover">...</element>
</element>

Pseudo-Elements

The ::before and ::after utility classes are supported too. Granted that you add the mandatory content-before or content-after class in order for them to work.

<element class="content-before decoration-dotted::before" />

<element class="content-after decoration-dotted::after" />
.decoration-dotted Sets text-decoration-style: dotted.

decoration-dashed

Sets text-decoration-style: dashed.

CSS Rules

.decoration-dashed {
  text-decoration-style: dashed;
}

Usage

<element class="decoration-dashed" />

Responsive

Prefix .decoration-dashed utility with a breakpoint variant (e.g., md:) to apply styles at specific screen sizes (Supported breakpoints are xm through 2xl).

<element class="md:decoration-dashed" />

States

States are generated dynamically at runtime and always come last. Append a state like :hover or :focus to the end of the class. This works in conjunction with breakpoints .

Supported pseudo-classes: :hover, :active, :focus, :focus-visible, :focus-within, :target, :checked, :disabled, and :group-hover.

<element class="decoration-dashed:hover" />

Group Hover Example

The :group-hover state applies styles when a parent element with the .group class is hovered.

<element class="group">
  <element class="decoration-dashed:group-hover">...</element>
</element>

Pseudo-Elements

The ::before and ::after utility classes are supported too. Granted that you add the mandatory content-before or content-after class in order for them to work.

<element class="content-before decoration-dashed::before" />

<element class="content-after decoration-dashed::after" />
.decoration-dashed Sets text-decoration-style: dashed.

decoration-wavy

Sets text-decoration-style: wavy.

CSS Rules

.decoration-wavy {
  text-decoration-style: wavy;
}

Usage

<element class="decoration-wavy" />

Responsive

Prefix .decoration-wavy utility with a breakpoint variant (e.g., md:) to apply styles at specific screen sizes (Supported breakpoints are xm through 2xl).

<element class="md:decoration-wavy" />

States

States are generated dynamically at runtime and always come last. Append a state like :hover or :focus to the end of the class. This works in conjunction with breakpoints .

Supported pseudo-classes: :hover, :active, :focus, :focus-visible, :focus-within, :target, :checked, :disabled, and :group-hover.

<element class="decoration-wavy:hover" />

Group Hover Example

The :group-hover state applies styles when a parent element with the .group class is hovered.

<element class="group">
  <element class="decoration-wavy:group-hover">...</element>
</element>

Pseudo-Elements

The ::before and ::after utility classes are supported too. Granted that you add the mandatory content-before or content-after class in order for them to work.

<element class="content-before decoration-wavy::before" />

<element class="content-after decoration-wavy::after" />
.decoration-wavy Sets text-decoration-style: wavy.