Is it possible to underline an anchor tag with a color other than its text color? Any example will be appreciated.
EDIT: Is it possible to specify color as hex e.g. #8f867c ?
Is it possible to underline an anchor tag with a color other than its text color? Any example will be appreciated.
EDIT: Is it possible to specify color as hex e.g. #8f867c ?
You cannot specify the underline color separately, but you can use a little trick:
Note that the border will not appear exactly where the underline would have appeared, sorry.
It's better you can give border to it. write like this:
Check this http://jsfiddle.net/dgc4q/
Assuming you want the "border" to only show when user moves his mouse over it you should do something like this:
I find that weird, but I just learned: Yes, it is, if you wrap a span inside.
html:
css (sass)