Given the following html:
<a href="#"><span data-icon="✪"></span>A Link</a>
Is it possible to change the text-decoration
(to none) on hover? The color
will change, the text-decoration
will not.
CSS:
a { text-decoration: none; }
a:hover{ text-decoration: underline; }
a:hover [data-icon]:before{
/*Doesn't work*/
text-decoration: none;
/*Works*/
color: red;
}