Text Decoration
text-decoration
is a CSS property used to add specific formatting to text.It allows for decorations such as underlining, overlining, and line-through (strikethrough).
Common values for
text-decoration
includenone
,underline
,overline
,line-through
, andblink
.The shorthand
text-decoration
property can be expanded intotext-decoration-line
,text-decoration-color
, andtext-decoration-style
for more detailed control.This property helps enhance or differentiate text within webpages, improving readability and visual hierarchy.
Text Decoration in Workmaster
The Text Decoration property in Workmaster controls decorative styling applied to text, such as underlining or striking through. It corresponds to the text-decoration
property in CSS and is useful for emphasizing content or indicating interactive elements like links.
Possible Values
Underline
Draws a solid line beneath the text. Commonly used for emphasis or links.
Dotted Underline
Dotted line below the text. Used for notes, tooltips, or subtle highlights.
Dashed Underline
Dashed line below the text. Used for interactive or variable elements.
Overline
Solid line above the text. Used for design emphasis or headings.
Double Underline
Two solid lines below the text. Used for strong or formal emphasis.
Examples
1. Underline


2. Dotted Underline


3. Dashed Underline


4. Overline


5. Double Underline


Last updated