Search code examples
htmlcssresponsive-designmedia-queriesviewport

640px PSD file need to fix in all device


i have only one PSD file which has width 640px from client and i have to fix in all device, from ios to windows with different screen device.

my problem is that i don't want to crop different images for small and big size device. I searched for some solution but i am confused with all using viewport, mediaquery. and new iphone5 have 1136px resolution i don't know how to achive with this PSD. I want to crop one size image for all device is it possible


Solution

  • after looking for solution for a long time i found that u can use

    <meta name="viewport" content="width=640">
    

    let browser do other work for you. this i found from apple.com. just view source http://www.apple.com