Development utility for testing various device viewports. Quite outdated now, but was useful before Chrome Dev Tools began to assist in responsive design.
Testing responsive web design is generally done by resizing the browser window over and over to see the varying layout changes.
This script will render a block of buttons for common mobile devices with orientations.
Clicking a device will open a the current document with the viewport dimensions of the given device.
Just before </head>
paste
<link rel="stylesheet" href="css/viewport.min.css">
Just before </body>
paste
<script src="js/viewport.min.js"></script>