Jump to content

Code for responsive Web design


confidence123

Recommended Posts

I guess you would use @media blocks to restrict the number and choice of images on each page and style most images to display:none.

 

http://www.w3schools.com/cssref/css3_pr_mediaquery.asp

 

However this may not work, or you may need to create parent divs around the images to get the browser to not load the images...

 

http://stackoverflow.com/questions/12158540/does-displaynone-prevent-an-image-from-loading

 

and

 

http://timkadlec.com/2012/04/media-query-asset-downloading-results/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...