Re: suggestion: children() selector for subqueries

10.11.2015, 21:25, "Csaba Dobai" <be.creative@webapper.hu>:
> My suggestion what if CSS would have a children() selector for placing a subquery as an argument:
> .container:children(.col-lg-4) { ... }
> .container:children(.col-md-4) { ... }

That's probably what `:has()` [1] is intended for.
But, ironically, it is currently JS-only [2].

[1] https://drafts.csswg.org/selectors/#has-pseudo
[2] https://drafts.csswg.org/selectors/#dynamic-profile

Received on Tuesday, 10 November 2015 19:01:23 UTC