Couldn’t write this information on CSS selectors any better. Kudos Raghavendra, well said. Good information and easy for the beginner to understand.
- Know your CSS (mrhennings.typepad.com)
- 5 Steps to Drastically Improve Your CSS Knowledge in 24 Hours (designshack.net)
- Individual addressability of CSS things (kryogenix.org)
- Exploring CSS3 (sloandwyer.wordpress.com)
Twice a month, we revisit some of our readers’ favorite posts from throughout the history of Nettuts+. This tutorial was first published in November, 2010.
So you learned the base
descendant selectors – and then called it a day? If so, you’re missing out on an enormous level of flexibility. While many of the selectors mentioned in this article are part of the CSS3 spec, and are, consequently, only available in modern browsers, you owe it to yourself to commit these to memory.
Let’s knock the obvious ones out, for the beginners, before we move onto the more advanced selectors.
The star symbol will target every single element on the page. Many developers will use this trick to zero out the
padding. While this is certainly fine for quick tests, I’d advise you…
View original post 3,098 more words