Created
December 23, 2015 17:49
-
-
Save yepes/51b1a3df66a46228dac1 to your computer and use it in GitHub Desktop.
compass sprite inside media queries
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
| @import "sprite/*.png"; | |
| span{ | |
| @include sprite-sprite(some_file_name); | |
| } | |
| @media (min-width: 992px){ | |
| @include get-sprite($sprite-sprites, some_file_name); | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That solves:
Sass::SyntaxError: You may not @extend an outer selector from within @media.
You may only @extend selectors within the same directive.
From "@extend .sprite-sprite" on line 302 of sprite/*.png.