Created
November 3, 2015 18:54
-
-
Save willbowling/d1cf1352922b4c92b2ac 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
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
=pane-parent-eq-lg-down | |
[data-eq-state="pane"] &, | |
[data-eq-state="pane-xs"] &, | |
[data-eq-state="pane-sm"] &, | |
[data-eq-state="pane-md"] &, | |
[data-eq-state="pane-lg"] & | |
@content | |
=pane-container-eq-lg-down | |
[data-eq-state="pane"], | |
[data-eq-state="pane-xs"], | |
[data-eq-state="pane-sm"], | |
[data-eq-state="pane-md"], | |
[data-eq-state="pane-lg"] | |
@content | |
// dont include above code-- just needed here for rendering | |
.product-image | |
border: 1px blue solid | |
+pane-parent-eq-lg-down | |
display: none | |
img | |
display: block | |
position: relative | |
float: right | |
height: auto | |
max-width: none | |
// or you can do this... | |
.product-image | |
border: 1px blue solid | |
img | |
display: block | |
position: relative | |
float: right | |
height: auto | |
max-width: none | |
+pane-container-eq-lg-down | |
.product-image | |
display: none |
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
.product-image { | |
border: 1px blue solid; | |
} | |
[data-eq-state="pane"] .product-image, [data-eq-state="pane-xs"] .product-image, [data-eq-state="pane-sm"] .product-image, [data-eq-state="pane-md"] .product-image, [data-eq-state="pane-lg"] .product-image { | |
display: none; | |
} | |
.product-image img { | |
display: block; | |
position: relative; | |
float: right; | |
height: auto; | |
max-width: none; | |
} | |
.product-image { | |
border: 1px blue solid; | |
} | |
.product-image img { | |
display: block; | |
position: relative; | |
float: right; | |
height: auto; | |
max-width: none; | |
} | |
[data-eq-state="pane"] .product-image, | |
[data-eq-state="pane-xs"] .product-image, | |
[data-eq-state="pane-sm"] .product-image, | |
[data-eq-state="pane-md"] .product-image, | |
[data-eq-state="pane-lg"] .product-image { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment