Return to Snippet

Revision: 24511
at March 2, 2010 18:49 by petterdr


Initial Code
@media screen and (max-device-width: 480px){
    img{
        max-width:100%;
        height:auto;
    }
}

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

Initial Description


Initial Title
Resize images for viewing on mobile or small device

Initial Tags
css, html, mobile

Initial Language
CSS