W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

Re: [csswg-drafts] [css-scoping] Please bring back scoped styles (#3547)

From: Giuseppe via GitHub <sysbot+gh@w3.org>
Date: Fri, 23 Aug 2019 07:31:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-524206816-1566545495-sysbot+gh@w3.org>
Nice! Actually a syntax like this might be cool (not sure how hard it'd be to implement and what would be the cons)

```css
@scope (from: .carousel) and (to: .carousel-slide-content) {
  p { color: red }
}
```

-- 
GitHub Notification of comment by giuseppeg
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3547#issuecomment-524206816 using your GitHub account
Received on Friday, 23 August 2019 07:31:38 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:13 UTC