gridify
v0.2.2
Published
Simple code to add a root-element-relative vertical rhythm checker to a web page. Inspired by Sassline.
Downloads
103
Readme
Gridify: In-Browser Vertical Rhythm Measurement Tool
Gridify is inspired by the grid at sassline.com.
Demo
Usage
- Copy the bookmarklet to a new bookmark in your browser
- Click the bookmarklet
- Give the prompt a selector (e.g.
#main
) to attach itself to.
Gridify uses the page's root element's font-size
to determine how to size itself.
In other words, it sizes the grid according to the rem
unit.
Building/Contributing
- This project depends on babel (implicitly, via
babelify
),uglifyify
, andbrowserify
. npm run build
- this will print compiled code to STDOUT.npm run build:bookmarklet
- this will write minified + compiled code to gridify.bookmarklet.js.