All Questions
Tagged with css-content pseudo-class
2 questions
7
votes
3
answers
220
views
using both :after and :hover
Is it possible to only display the :after pseudo using :hover? For example using alternative elements.
#parent{}
#child{display:none;}
#parent:hover >#child{display:block;}
As far as I've got with ...
6
votes
4
answers
12k
views
css :after content not underlined
To seperate the links in navigation I have set the following
#menu-main li a:after{
content: " * ";
}
The current item gets additional
text-decoration: underline;
my problem now is, that the " * ...