Skip to content

Instantly share code, notes, and snippets.

@romaricpascal
Created December 7, 2020 18:36
Show Gist options
  • Save romaricpascal/81c9b025126b5dc499a380c019afc4b4 to your computer and use it in GitHub Desktop.
Save romaricpascal/81c9b025126b5dc499a380c019afc4b4 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
.parent {
color: red;
}
.child {
@extend .parent;
}
.container {
.parent {
padding: 10px;
}
}
<div class="prose">
<p>Test</p>
<p>Test</p>
<ul>
<li>Blah blah blah</li>
</ul>
</div>
.parent, .child {
color: red;
}
.container .parent, .container .child {
padding: 10px;
}
{
"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