Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bitstarr/ruleemall

A helper for finding the right CSS breakpoints
https://github.com/bitstarr/ruleemall

css media-queries viewport

Last synced: about 2 months ago
JSON representation

A helper for finding the right CSS breakpoints

Awesome Lists containing this project

README

        

# rule *em* all

Nobody likes media queries in pixels. You wont press your well crafted content in an inflexible corset of absolute units. That’s why you will tend to use *em*. But why calculate the numbers by yourself?

## Usage

Include the *em* meter JavaScript file while your development or use the [bookmarklet](http://ruleemall.sebastianlaube.de/). You will see a box at the bottom left corner of your viewport which shows you the current width and height in *em*.

The *em* ruler is more a fun tool but maybe useful for you. It will show a ruler with a stepping of 5 at the top of the viewport.