Thursday, November 1, 2012

Ultimate CSS Cheat Sheet


http://www.addedbytes.com/cheat-sheets/css-cheat-sheet/

Given the number of possible selectors in CSS, it is no wonder some people often become confused. Mixing up ID and Class selectors is easy enough, without throwing sibling, child, attribute and language selectors into the mix. This section of the cheat sheet lists selectors and shows which element(s) those selectors would apply to.


Pseudo-selectors are used when defining styles for elements that either do not exist, or are in a particular state. This section lists various of the pseudo-selectors.
Please note - I have left the :before and :after pseudo-selectors off this list, as I felt generated content was too complex to add to this sheet and still define in a way that made that area of the sheet usable.

http://slodive.com/freebies/css-cheat-sheets/

No comments:

Post a Comment