Last active
August 3, 2017 20:11
-
-
Save Ryan-Haines/ba10888d0828d394851d3da6063f70bb to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="parentA"> | |
<span>hello!</span> | |
</div> | |
<div id="parentB"> | |
<span>hello!</span> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.21) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin textColor{ | |
span{ | |
color: green; | |
} | |
} | |
#parentA{ | |
width: 100px; | |
height: 100px; | |
background-color:blue; | |
color: black; | |
@include textColor; | |
} | |
#parentB{ | |
width: 100px; | |
height: 100px; | |
background-color:red; | |
color: black; | |
@include textColor; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#parentA { | |
width: 100px; | |
height: 100px; | |
background-color: blue; | |
color: black; | |
} | |
#parentA span { | |
color: green; | |
} | |
#parentB { | |
width: 100px; | |
height: 100px; | |
background-color: red; | |
color: black; | |
} | |
#parentB span { | |
color: green; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="parentA"> | |
<span>hello!</span> | |
</div> | |
<div id="parentB"> | |
<span>hello!</span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment