- From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
- Date: Mon, 14 Dec 2020 23:00:29 +0000
- To: public-css-archive@w3.org
mirisuzanne has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-cascade] What is the appropriate syntax for appending to nested layers? == The draft Cascade 5 specification allows [nesting cascade layers](https://drafts.csswg.org/css-cascade-5/#nested-layers), and appending styles to nested layers using a dot (`.` period/full-stop/`U+002E`) character: ```css @layer framework { @layer default { p { margin-block: 0.75em; } } @layer theme { p { color: #222; } } } /* These styles will be added to the theme layer inside the framework layer */ @layer framework.theme { blockquote { color: rebeccapurple; } } ``` It might also work to use a space, or some other character in place of the dot. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5791 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 14 December 2020 23:00:30 UTC