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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -