A bookmarklet to see the current viewport size
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
img
js
README.md
index.html

README.md

viewportmarklet

Finally, a quick way to see your current viewport width in px and em.

After finding myself struggling with the em and px ratio while working on a responsive website I set out to find a solution that would just work. Some folks are still in discussion if em and px should be converted at all but I needed something now, also to help me understand the complications of using only em in your frontends.

For more info visit the project on my website.