| Share this post! | Vote this! |
|
CSS's goal of "separating style from content" relies heavily on its
ability to reach that content first. Well, in CSS3, that mission is
bolstered by the addition of Structural pseudo-classes. These
selectors let you select child elements of a parent based on a variety
of generic criteria, such as the 3rd child, even/odd child elements, the
nth child within each group of children of a certain type (ie:
Meanwhile back in the real world, CSS3 Structural pseudo-classes are supported in Firefox 3.1+, IE8+ (only in IE8 standards mode), and Safari 3.1+ to various degrees, so they are usable right away. more...
LI) within the parent, and more. A
little overwhelming, yes, but it's sure better than underwhelming,
right?Meanwhile back in the real world, CSS3 Structural pseudo-classes are supported in Firefox 3.1+, IE8+ (only in IE8 standards mode), and Safari 3.1+ to various degrees, so they are usable right away. more...



0 comments:
Post a Comment