/responsive

Let an element be responsive in no time

Primary LanguageJavaScript

responsive

Let an element be responsive in no time

Installation

Install with component(1):

$ component install shallker/responsive

Quick Start

<div class="menu" responsive>This is a responsive menu</div>
var responsive = require('responsive');
responsive.add('tablet', 1020);
responsive.add('mobile', 480);

Test

http://shallker.github.io/responsive/test

API

add(String breakpointName, Number breakpointWidth)

License

MIT