A super simple width calculator that shows you how wide the viewport is, in ems
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
bookmarklet.js
emRuler.js
screenshot.png

README.md

emRuler

A super simple em unit ruler.

Screenshot

Instructions

  1. Copy the raw text from here
  2. Create a new bookmark
  3. Paste in the javascript to the address field. (You might have to add a dummy bookmark first, then go back and edit it)
  4. Click the bookmark to enable & disable the ruler

It rounds to the nearest em unit on purpose — pixel perfection doesn't exist on the web ;)