I have programmed in CSS too little. In this post, I will keep updating the things that I learned
-
Order of CSS classes in the HTML does not matter , when the specificity are same.
-
CSS Specificity tutorial
http://coding.smashingmagazine.com/2007/07/27/css-specificity-things-you-should-know/
-
CSS Specificity calculator
-
What does classnames without spaces in the CSS declaration means
.class1.class2 { //some style }
The two dots indicate two classes. I.E. It is selecting all elements with a class of class1 AND class2 it’s target HTML would look like this
http://stackoverflow.com/questions/10824007/what-does-two-dots-in-a-css-declaration-mean