Skip to content
Snippets Groups Projects
Commit 8b5c2641 authored by Christopher Knötschke's avatar Christopher Knötschke
Browse files

place media query inside of class for better extending

parent bcc25e2b
No related branches found
No related tags found
No related merge requests found
......@@ -28,14 +28,12 @@
{{#sprite}}
{{class}} {
background-image: url('{{{escaped_image}}}');
}
{{/sprite}}
{{#retina}}
@media (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
{{class}} {
{{#retina}}
@media (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
background-image: url('{{{escaped_image}}}');
background-size: {{px.total_width}} {{px.total_height}};
}
{{/retina}}
}
{{/retina}}
{{/sprite}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment