Skip to content

Instantly share code, notes, and snippets.

@cssmagic
Created January 22, 2015 14:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cssmagic/855ed550054c5b725f24 to your computer and use it in GitHub Desktop.
Save cssmagic/855ed550054c5b725f24 to your computer and use it in GitHub Desktop.
迅速优化传统的非响应式网页在 iPad 下的表现
<meta name="viewport" content="width=1024, maximum-scale=1">
@cssmagic
Copy link
Author

对 1024px 以内宽度(比如常见的 950、960、1000px)的传统网页有明显效果。在 iPad 1/2 横屏下可实现页面内容点对点显示、图片清晰锐利;在 iPad 3/4/Air/Air2 横屏可实现线条清晰锐利;对网页在 iPhone 下的表现没有负面影响。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment