CSS span hover not working
I want to show the dotted line when mouse hover the link, this method doesn’t work.
It doesn’t look like
text-decoration-style: dotted is supported in all browsers:
For full support, you could use
In order for this to work, you need to remove the underline from the anchor element using
text-decoration: none. Then just add a
border-bottom to the element: