There is the CSS Custom Selectors [proposal](https://drafts.csswg.org/css-extensions/#custom-selectors) (it even has its [PostCSS plugin](https://github.com/postcss/postcss-custom-selectors)) which would solve this exact issue and much more. But doesn't `:matches(h1, h2, h3)` from Selectors level 4 already solve the main problem here (code duplication)? -- GitHub Notification of comment by SelenIT Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1008#issuecomment-277919841 using your GitHub accountReceived on Tuesday, 7 February 2017 07:16:22 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:08 UTC