Skip to content

Instantly share code, notes, and snippets.

@goulvench
Forked from lensco/responsive.html
Created February 5, 2012 15:27
Show Gist options
  • Save goulvench/1746078 to your computer and use it in GitHub Desktop.
Save goulvench/1746078 to your computer and use it in GitHub Desktop.
Simple responsive design test page. Adapted to reflect major screen layouts.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Responsive Design Testing</title>
<style>
body { margin: 20px; font-family: sans-serif; overflow-x: scroll; width: 4100px; }
.frame { float: left; margin: 0 20px 20px 0; }
small { display: block; color: #888; }
h2 { margin: 0 0 5px 0; }
</style>
</head>
<body>
<h1>Responsive Design Testing</h1>
<div class="frame">
<h2>160 x 240 <small>(feature phone)</small></h2>
<iframe src="./home.html" sandbox="allow-same-origin allow-forms" seamless width="160" height="240"></iframe>
</div>
<div class="frame">
<h2>240 x 400 <small>(BB Torch)</small></h2>
<iframe src="./home.html" sandbox="allow-same-origin allow-forms" seamless width="240" height="400"></iframe>
</div>
<div class="frame">
<h2>320 x 480 <small>(iphone - portrait)</small></h2>
<iframe src="./home.html" sandbox="allow-same-origin allow-forms" seamless width="320" height="480"></iframe>
</div>
<div class="frame">
<h2>480 x 320 <small>(iphone - landscape)</small></h2>
<iframe src="./home.html" sandbox="allow-same-origin allow-forms" seamless width="480" height="320"></iframe>
</div>
<div class="frame">
<h2>640 x 480<small>(tablet - landscape)</small></h2>
<iframe src="./home.html" sandbox="allow-same-origin allow-forms" seamless width="640" height="480"></iframe>
</div>
<div class="frame">
<h2>1024 x 768 <small>(netbook)</small></h2>
<iframe src="./home.html" sandbox="allow-same-origin allow-forms" seamless width="1024" height="768"></iframe>
</div>
<div class="frame">
<h2>1280 x 1024 <small>(desktop)</small></h2>
<iframe src="./home.html" sandbox="allow-same-origin allow-forms" seamless width="1280" height="1024"></iframe>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment