- From: Marat Tanalin <mtanalin@yandex.ru>
- Date: Tue, 10 Nov 2015 22:00:48 +0300
- To: Csaba Dobai <be.creative@webapper.hu>, "www-style@w3.org" <www-style@w3.org>
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