Hmm, what about `:foreach`? It basically takes an array of arguments and for each item performs some operation, without affecting anything, similar to the `forEach` array method in JS. So if with JS we would write: ```javascript ['.a', '.b', '.c'].forEach(item => doSomething(item + ' el')); ``` In CSS it would become: ```css :foreach(.a,.b,.c) el { // doSomething } ``` -- GitHub Notification of comment by CyberAP Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2143#issuecomment-404893789 using your GitHub accountReceived on Friday, 13 July 2018 17:04:59 UTC
This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:51 UTC