@mixin hidpi { @media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) { html.backgroundsize & { @content; } } }