Re: [css3-selectors] Grouping

On Fri, Jan 8, 2010 at 8:15 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> The second example isn't nonsense, the :any() just isn't adding
> anything to the existing element selector.  The selector will only
> match <div>s.

is that true?

div:any(div) {
color: green;
}
div {
color: black;
}

does the :any give the former rule more specificity? :)

Received on Tuesday, 19 January 2010 10:31:53 UTC