W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2017

Re: [csswg-drafts] CSS pseudo-selector for h1-h6?

From: SelenIT via GitHub <sysbot+gh@w3.org>
Date: Tue, 07 Feb 2017 07:16:15 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-277919841-1486451773-sysbot+gh@w3.org>
There is the CSS 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 
 using your GitHub account
Received 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