Skip to main content

All 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 ...
bashleigh's user avatar
  • 9,354
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 " * ...
obs's user avatar
  • 807