You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@media (-o-min-device-pixel-ratio:3/2) {
body { background:url('hd-background.png'); }
}
@media (-webkit-min-device-pixel-ratio:1.5),
(min--moz-device-pixel-ratio:1.5),/* Opera Device Pixel ratio not supported by css-mediaquery 0.1.2 *//* (-o-min-device-pixel-ratio: 3 / 2), */
(min-device-pixel-ratio:1.5) {
body { background:url('hd-background.png'); }
}
This works:
@media (min-device-pixel-ratio:1.5) {
body { background:url('hd-background.png'); }
}
The text was updated successfully, but these errors were encountered:
I'll work on doing the pragmatically-correct thing for these. I held off on adding support for vendor prefixes, because the best practice is to include a non-prefix query in the set, like you have in the second example.
I will add support for comments, since those are a valid part of the spec.
Two samples which fail to parse:
This works:
The text was updated successfully, but these errors were encountered: