With CSS3, we have gotten many new pseudo selectors that give us a great deal of options. However, the short list of combinator selectors has only been increased from 3 to 4: Code: foo bar foo>bar foo+bar foo~bar The first combinator is the most used selector and selects any element bar that is a descendant of foo. The second combinator selects any element bar that is a child (direct descendant) of foo. The third combinator selects any element bar that is an adjacent ...
foo bar foo>bar foo+bar foo~bar
Yesterday, April 9th was the fourth annual CSS Naked Day. Participating websites get rid of their stylesheets and feed their naked markup to the world. The reason for this is to promote web standards and semantics. To learn more about this and sign up (for next year) go to this page: http://naked.dustindiaz.com/ P.S. I know it would have been better if I posted this before April 9th but I forgot about it. Well, instead of seeing this as a late post about ...