About 276,000 results
Open links in new tab
  1. CSS Text Decoration - W3Schools

    The CSS text-decoration property is used to control the appearance of decorative lines on text. It is a shorthand property for the following individual properties:

  2. text-decoration - CSS - MDN

    Dec 5, 2025 · The text-decoration shorthand CSS property sets the appearance of decorative lines on text. It is a shorthand for text-decoration-line, text-decoration-color, text-decoration …

  3. How To Underline Text In CSS? (CSS text-decoration property)

    Dec 7, 2025 · In this comprehensive guide, we’ll explore the basics of underlining text using CSS (Cascading Style Sheets), explore customization options, and discuss best practices for using …

  4. CSS text-decoration-style Property - GeeksforGeeks

    Jul 11, 2025 · In this example we use the text-decoration-style property with dashed lines applied to underline, line-through, and overline text decorations on different paragraphs using CSS …

  5. How to Underline Text Using CSS? - vinish.dev

    Oct 12, 2025 · Learn how to underline text using CSS with simple examples. Master text-decoration, borders, colors, and cool hover effects in minutes.

  6. 10 CSS Snippets for Creating Stunning Animated Underline Text …

    Feb 5, 2025 · CSS line break styles are tricky and not easy to work around. But with some ingenuity developer Will King built this pen creating a dynamic underline effect that can span …

  7. How to underline text in CSS - Tpoint Tech - Java

    Mar 17, 2025 · Underlines can be used to highlight important text. The U element and the CSS text-decoration property are the two most used techniques to underline text on web pages. …

  8. Say goodbye to boring underlines: Styling text in 2025 with modern CSS

    May 1, 2025 · With properties like text-underline-offset, text-decoration-thickness, and text-underline-position, you can create accessible, modern, and visually pleasing underlines — …

  9. Master the Art of Underlining Text in CSS - Ultimate Guide

    Nov 2, 2023 · In this comprehensive guide, we’ve explored various methods to underline text in CSS, including the use of the “text-decoration” property, customizing underlines, and …

  10. CSS: Set Underline Color Easily (With Practical Code Examples)

    Underlines are one of the most common ways to highlight links or emphasize text on the web. But did you know that CSS now allows you to change the underline color independently from the …