Skip to content

Instantly share code, notes, and snippets.

@skhashaev
Last active March 17, 2021 21:16
Show Gist options
  • Save skhashaev/48363c9457f994404e879e57d56e0513 to your computer and use it in GitHub Desktop.
Save skhashaev/48363c9457f994404e879e57d56e0513 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
/* --- Parent selector */
// .alert {
// background: red;
// &:hover {
// font-weight: bold;
// }
// }
/* Adding suffixes */
// .accordion {
// max-width: 600px;
// margin: 4rem auto;
// width: 90%;
// font-family: "Raleway", sans-serif;
// background: #f4f4f4;
// &__copy {
// display: none;
// padding: 1rem 1.5rem 2rem 1.5rem;
// color: gray;
// line-height: 1.6;
// font-size: 14px;
// font-weight: 500;
// &--open {
// display: block;
// }
// }
// }
// $parent: &;
// .background {
// background: red;
// #{$parent}:hover {
// background: blue;
// }
// }
// /* If the & expression is used outside any style rules, it returns null */
/* --- Parent selector */
/* Adding suffixes */
{
"sass": {
"compiler": "dart-sass/1.26.11",
"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