Created
July 30, 2015 10:45
-
-
Save Undistraction/2d0fee3b13704c7d93e8 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
<img srcset="/assets/paperclip/full/video.png 610w,/assets/paperclip/full/video.png 300w"> |
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 when-inside($context-list...) { | |
$selectors: ''; | |
@each $context in $context-list { | |
// Unquote the context to address LibSass bug | |
$selectors: "#{$selectors} #{unquote($context)} &," | |
} | |
#{$selectors}{ | |
@content | |
} | |
} | |
.Test2 { | |
//.public.pages-controller.about-page | |
@include when-inside( | |
'.public.pages-controller.home-page') { | |
color: red; | |
} | |
} |
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
.public.pages-controller.home-page .Test2 { | |
color: red; | |
} |
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
<img srcset="/assets/paperclip/full/video.png 610w,/assets/paperclip/full/video.png 300w"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment