Skip to content

Instantly share code, notes, and snippets.

@oksushi
Created September 1, 2016 23:43
Show Gist options
  • Save oksushi/5319478c869bba5d765160fd1ebd0223 to your computer and use it in GitHub Desktop.
Save oksushi/5319478c869bba5d765160fd1ebd0223 to your computer and use it in GitHub Desktop.
.b-detail-product__price-container .b-compare__link
&::before {
background: url($sprite-url) no-repeat -337px -166px;
width: 12px;
height: 16px;
position: absolute;
top: 2px;
left: 0;
content: "";
}
// it does not works
&.in_compare::before {
background: url($sprite-url) no-repeat -355px -166px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment