css - CSS3: Will mobile devices load background images when inside media queries? -


if have following:

div {background: #000}  @media (min-width: 1000px) {      div {background: url(myimage.jpg)} } 

will 320px wide smartphone, example, still download background image?

thanks!

it depends on device. generally, idea devices viewport wider 1000px download image in above example, it's not guaranteed. here's interesting study on subject: http://timkadlec.com/2012/04/media-query-asset-downloading-results/


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -