Skip to content

Instantly share code, notes, and snippets.

@easingthemes
Created December 8, 2021 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save easingthemes/bdaa14abc039ad72c86b762c6c2c6217 to your computer and use it in GitHub Desktop.
Save easingthemes/bdaa14abc039ad72c86b762c6c2c6217 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// Works in both libsass and dart-sass.
.one {
content: simple-selectors(&);
}
// Works only in libsass.
// Error in dart-sass: Error: $selector: expected selector.
.one {
.two {
content: simple-selectors(&);
}
}
.one {
.two {
.three {
content: simple-selectors(&);
}
}
}
.one {
content: .one;
}
.one .two {
content: .one;
}
.one .two .three {
content: .one;
}
{
"sass": {
"compiler": "dart-sass/1.32.12",
"extensions": {},
"syntax": "SCSS",
"outputStyle": "expanded"
},
"autoprefixer": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment