Can you underline a text on hover using css? (Like the behavior of a link but not an actual link.)
You just need to specify text-decoration: underline; with pseudo-class :hover.
text-decoration: underline;
:hover
Hello world
.underline-on-hover:hover { text-decoration: underline; }
I have whipped up a working Code Pen Demo.