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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -