I'm trying to remove the :hover
behaviour in an :after
pseudoselector for a link. But I think that it's not possible.
a {
font-family: Georgia, "Times New Roman", Times, serif;
font-style: italic;
font-size: 12px;
color: #666;
text-decoration: none
}
a:after {
content: "·";
margin: 0 2px 0 6px
}
a:hover {
text-decoration: underline
}
a:hover:after {
text-decoration: none
}
<a href="#">test</a>
<a href="#">test</a>
<a href="#">test</a>
Checkout the JsFiddle.
Is it possible?