Skip to content

Instantly share code, notes, and snippets.

@willbowling
Created November 3, 2015 18:48
Show Gist options
  • Save willbowling/05499e892ba6b65ab984 to your computer and use it in GitHub Desktop.
Save willbowling/05499e892ba6b65ab984 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// 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
// 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
.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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment