Skip to content
Support Yumma CSS by starring us on GitHub!

Text Decoration Style

Controls the style of text decoration.

Class Properties

tds-d

text-decoration-style: dashed;

tds-h

text-decoration-style: hidden;

tds-none

text-decoration-style: none;

tds-s

text-decoration-style: solid;

Dashed

This example sets the text decoration style to dashed. The text will be displayed with a dashed line for its decoration.

The quick brown fox jumps over the lazy dog.

<div class="bg-l-indigo-6 p-4 rad-1">
<p class="bg-white fs-sm p-4 rad-1 ta-c tc-lead tdl-u tds-d">The quick brown fox jumps over the lazy dog.</p>
</div>

Solid

This example sets the text decoration style to solid. The text will be displayed with a solid line for its decoration.

The quick brown fox jumps over the lazy dog.

<div class="bg-l-indigo-6 p-4 rad-1">
<p class="bg-white fs-sm p-4 rad-1 ta-c tc-lead tdl-u tds-s">The quick brown fox jumps over the lazy dog.</p>
</div>

Utilizing utilities conditionally

Override existing utilities based on the user's screen size or other factors, such as hover states. Learn more about modifiers in our documentation.

Responsive breakpoints

You can combine responsive breakpoints like sm:tds-*,md:tds-*, lg:tds-*, and xxl:tds-* allows targeting specific utilities in different viewports.

<div class="tds-none md:tds-s ..."></div>

Utilizing utilities conditionally

Override existing utilities based on the user's screen size or other factors, such as hover states. Learn more about modifiers in our documentation.

Hover states

Alternatively, you can apply :hover by using h:tds-* utility to override elements and change their values when hovering over them.

<div class="tds-none h:tds-s ..."></div>