简体   繁体   中英

Is there a media query for the viewport size of a zoomed area? ( iPhone )

Say you have a 1200px x 1000px webpage that you are developing. When one of your test users pinches in on the webpage, say 50% of the original size, the viewport would be 600px x 500px.

Are there any media queries that will fire once the user zooms 50%, 600px x 500px in this case?

These two articles cover the viewport topics better than anything else I've seen:

http://www.quirksmode.org/mobile/viewports.html

http://www.quirksmode.org/mobile/viewports2.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM