Created
January 21, 2015 09:10
-
-
Save zhao-ji/c34c44f9555e6646875c to your computer and use it in GitHub Desktop.
移动端自适应宽度高度
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--在html代码的<head>...</head>中嵌入下面代码--> | |
<meta name="viewport" | |
content=" | |
height = [pixel_value | device-height] , | |
width = [pixel_value | device-width ] , | |
initial-scale = 0.5 , | |
minimum-scale = float_value , | |
maximum-scale = float_value , | |
user-scalable = [yes | no] , | |
" | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment