How to make spacing between text and underline then width of the underline ?

If i hover the nav link it should appear an underline with a width of 5 px. .nav-link{ text-decoration:underline; I don't want border-bottom style

2/15/2020 1:53:04 PM


4 Answers

New Answer


Underline __________ I need like this with thickness of line is 5 px


No it's wrong Michael


text-decoration-thickness: 5px


are you sure? https://code.sololearn.com/WS1QsnGkkg0a/?ref=app