|
|
|
|
|
by justJanne
3816 days ago
|
|
Well, the idea was to do stuff like @media(max-size: 200px) { #container { background: url(tiny_mobile.png); } }
@media(max-size: 400px) { #container { background: url(small_mobile.png); } }
@media(max-size: 800px) { #container { background: url(medium_tablet.png); } }
@media(max-size: 2000px) { #container { background: url(large_desktop.png); } }
@media(min-size: 2000px) { #container { background: url(retina.png); } }
Not always loading the same image is a good idea on mobile. |
|