Last active
May 29, 2016 18:23
-
-
Save andrewplummer/8486c66ba2422b341d479e827125d186 to your computer and use it in GitHub Desktop.
@extend starting to go nuts
This file contains hidden or 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) | |
// ---- | |
.example-block { | |
color: blue; | |
} | |
.example__actions { | |
background-color: red; | |
} | |
.example:hover .example__actions { | |
visibility: visible; | |
} | |
pre { | |
@extend .example-block; | |
} | |
pre code { | |
@extend .example; | |
} | |
.example__content { | |
@extend code; | |
} | |
This file contains hidden or 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) | |
// ---- | |
.example__actions { | |
background-color: red; | |
} | |
.example:hover .example__actions { | |
visibility: visible; | |
} | |
pre code { | |
@extend .example; | |
} | |
.example__content { | |
@extend code; | |
} | |
This file contains hidden or 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
.example__actions { | |
background-color: red; | |
} | |
.example:hover .example__actions, pre code:hover .example__actions, pre .example__content:hover .example__actions { | |
visibility: visible; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment