Thanks for the reply/answer/code Philippe! It's much appreciated. On Fri, Oct 25, 2013 at 11:01 PM, Philippe Wittenbergh <e...@l-c-n.com> wrote: > Directly? I don’t think so - all those (:first-*, :last-*) pseudo-classes > target real elements in the DOM.
Ah, that's good to know. Thanks for the clarification. :) > But if you know that the e.g. second div in your layout will be moved to be > visibly the first one, you can use the nth-child pseudo-class: > div:nth-child(2) { background: lime } Great! I'll play with that. Have a nice weekend. Cheers, Micky -- <git.io/micky> ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/