Skip to content

Instantly share code, notes, and snippets.

@omo
Last active September 29, 2015 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omo/702ba9bb9357c96ed4b7 to your computer and use it in GitHub Desktop.
Save omo/702ba9bb9357c96ed4b7 to your computer and use it in GitHub Desktop.
Viewport experiments
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=5.0,width=200">
</head>
<body>
<div style='width: 100px; height: 100px; background-color:red;'>100x100</div>
<h1>Hello! I'm correct!</h1>
<div>The initial-scale should work. You sould see zoomed text (x5.0).</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=5.0;width=200">
</head>
<body>
<div style='width: 100px; height: 100px; background-color:red;'>100x100</div>
<h1>Hello! I'm wrong!</h1>
<div>If initial-scale works, You would see zoomed text (x5.0).</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment