Created
September 16, 2015 08:11
-
-
Save bhalash/22fd49d9a232b3bf6b7d to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
| // ---- | |
| // libsass (v3.2.5) | |
| // ---- | |
| @mixin selectorer($selector: null) { | |
| &#{if($selector, ' ' + unquote($selector), $selector)} { | |
| background: center/100% auto no-repeat url('foo'); | |
| } | |
| } | |
| .ding { | |
| @include selectorer; | |
| } | |
| .dong { | |
| @include selectorer('a span.yolo'); | |
| } |
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
| .ding { | |
| background: center/100% auto no-repeat url("foo"); | |
| } | |
| .dong a span.yolo { | |
| background: center/100% auto no-repeat url("foo"); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment