/*standard, non retina */ .postcard { background-image: url("https://cache.travelfish.org/b/assets/2015/gallery/large/postcard_forum_large__1449064806.jpg"); } /*standard, retina */ @media only screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-resolution: 144dpi), screen and (min-resolution: 144dppx) { .postcard { background-image: url("https://cache2.travelfish.org/b/assets/2015/gallery/largeR/postcard_forum_largeR__1449064806.jpg"); } } /*tablet, small laptop, non retina*/ @media only screen and (max-width: 1023px) { .postcard { background-image: url("https://cache3.travelfish.org/b/assets/2015/gallery/medium/postcard_forum_medium__1449064806.jpg"); } } /*tablet, small laptop, retina*/ @media only screen and (max-width: 1023px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 1023px) and (min-resolution: 144dpi), only screen and (max-width: 1023px) and (min-resolution: 144dppx) { .postcard { background-image: url("https://cache.travelfish.org/b/assets/2015/gallery/mediumR/postcard_forum_mediumR__1449064806.jpg"); } } /*phone, small tablet, non retina*/ @media only screen and (max-width: 767px) { .postcard { background-image: url("https://cache2.travelfish.org/b/assets/2015/gallery/small/postcard_forum_small__1449064806.jpg"); } } /*phone, small tablet, retina*/ @media only screen and (max-width: 767px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 767px) and (min-resolution: 144dpi), only screen and (max-width: 767px) and (min-resolution: 144dppx) { .postcard { background-image: url("https://cache3.travelfish.org/b/assets/2015/gallery/smallR/postcard_forum_smallR__1449064806.jpg"); } } Bo Y Border Crossing | Visas and border crossings travel forum