Why doesn't my underline change color when I set text color?
The underline color is controlled by text-decoration-color, not the text color property. You must set text-decoration-color separately to change underline color (see step 2).
💡 Underline color is independent from text color.
Why is my underline straight even after setting text-decoration-style?
Some browsers may not support all styles fully. Also, text-decoration-style only affects the decoration line, so you must have a decoration like underline first (step 1) before style changes apply (step 3).
💡 Set text-decoration first, then style.
Why can't I see the underline on some elements?
Text decoration applies only to text-containing elements. If the element has no visible text or is hidden, the decoration won't show.
💡 Decoration needs visible text to appear.