Posted By

petterdr on 03/02/10


Tagged

css html mobile webdesign


Versions (?)

Resize images for viewing on mobile or small device


 / Published in: CSS
 

URL: http://www.catswhocode.com/blog/10-useful-code-snippets-to-develop-iphone-friendly-websites

  1. @media screen and (max-device-width: 480px){
  2. img{
  3. max-width:100%;
  4. height:auto;
  5. }
  6. }

Report this snippet  

You need to login to post a comment.