Skip to content

jamiescript/viewportJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ViewportJS

Development utility for testing various device viewports. Quite outdated now, but was useful before Chrome Dev Tools began to assist in responsive design.

The Problem

Testing responsive web design is generally done by resizing the browser window over and over to see the varying layout changes.

The Solution

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.


How To Use

Just before </head> paste
<link rel="stylesheet" href="css/viewport.min.css">

Just before </body> paste
<script src="js/viewport.min.js"></script>

About

Developer utility plugin for testing various device viewports

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published