Skip to content

Instantly share code, notes, and snippets.

@marcelmoreau
Created December 10, 2020 20:45
Show Gist options
  • Save marcelmoreau/c7d010e4db74a761fdbb15c2ae24110b to your computer and use it in GitHub Desktop.
Save marcelmoreau/c7d010e4db74a761fdbb15c2ae24110b to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
.typicalWay {
&__heading {
color: red;
}
&.-halloween {
.typicalWay__heading {
color: orange;
}
}
}
.offer {
$self: &;
&__footer {
font-size: 40px;
}
&.-holiday {
#{ $self }__footer {
font-size: 22px;
}
}
}
.typicalWay__heading {
color: red;
}
.typicalWay.-halloween .typicalWay__heading {
color: orange;
}
.offer__footer {
font-size: 40px;
}
.offer.-holiday .offer__footer {
font-size: 22px;
}
{
"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