Does it matter in which order I set the action in CSS definitions? -
this might silly question, haven't managed find out if there difference between these 2 css definitions:
div:hover.item {} div.item:hover {}
or... behavior same both of them?
pseudo selectors such :hover, :link, etc. come last
see http://www.w3schools.com/css/css_pseudo_classes.asp:
the syntax of pseudo-classes:
selector:pseudo-class {property:value;}
css classes can used pseudo-classes:
selector.class:pseudo-class {property:value;}
Comments
Post a Comment