Text Decoration
text-decorationis 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-decorationincludenone,underline,overline,line-through, andblink.The shorthand
text-decorationproperty can be expanded intotext-decoration-line,text-decoration-color, andtext-decoration-stylefor 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.
This is a Conditional Value field. Such fields allow you to specify values directly OR use a Formula to specify a value. Conditional values are useful for specifying different values for changing situations, such as varying device types or screen sizes.
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