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

Re: [csswg-drafts] CSS Regex Selector

From: Damian Senn via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 Feb 2017 07:46:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-279939583-1487144759-sysbot+gh@w3.org>
The heading case could be solved with something like 

The section case could be solved with attribute selectors:
section[id^="card-"] {
     padding: 10px;
     border-radius: 10px;
     background: white;

I think RegExp would only add a lot of complexity for everyone.

GitHub Notification of comment by topaxi
Please view or discuss this issue at 
 using your GitHub account
Received on Wednesday, 15 February 2017 07:46:07 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:08 UTC