Skip to content

Instantly share code, notes, and snippets.

@felix-berlin
Created September 6, 2022 10:01
Show Gist options
  • Save felix-berlin/0317ba346a3d5c3e47f704acc2d51ba5 to your computer and use it in GitHub Desktop.
Save felix-berlin/0317ba346a3d5c3e47f704acc2d51ba5 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
.c-address-modal {
// Deklarationen und genestete Regeln
content: 'ok Im here';
}
// nicht-genestete Regel :(
.v--modal__header + .c-address-modal {
content: 'i want that';
}
.c-address-modal {
.v--modal__header + & {
content: 'it works';
}
}
.c-address-modal {
content: "ok Im here";
}
.v--modal__header + .c-address-modal {
content: "i want that";
}
.v--modal__header + .c-address-modal {
content: "it works";
}
{
"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