Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to change the properties of an underline in CSS? Reply To: How to change the properties of an underline in CSS?

#242480
Senff
Participant

If you want a “special” underline (color, thickness, type of line), you shouldn’t use “text-decoration”, but rather give it a bottom border.

For example, just “border-bottom: solid 5px #ff0000;”

http://codepen.io/senff/pen/NrqLPz