- From: Tobi Reif via GitHub <sysbot+gh@w3.org>
- Date: Mon, 19 Mar 2018 22:01:50 +0000
- To: public-css-archive@w3.org
In Sass, the ampersand is available (but not required - that's what I want). https://sass-lang.com/documentation/file.SASS_REFERENCE.html#parent-selector One of their examples: (plus my comments) ``` #main { color: black; /* ampersand not required: */ a { font-weight: bold; /* ampersand can be used when necessary: */ &:hover { color: red; } } } ``` is equivalent to this: (the second part of their example) (their formatting) ``` #main { color: black; } #main a { font-weight: bold; } #main a:hover { color: red; } ``` -- GitHub Notification of comment by tobireif Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2456#issuecomment-374396955 using your GitHub account
Received on Monday, 19 March 2018 22:01:54 UTC