Skip to content

niksy/rationalize.css

Repository files navigation

rationalize.css

Build Status BrowserStack Status

Features:

  • Sane box-sizing model
  • Interactive elements with pointer cursor
  • Normalized invalid state for input elements
  • Normalized typography features for form elements
  • Responsive adjustments for embedded content such as images and
  • Default colors for text and background
  • …and much more

Install

npm install normalize.css@7 rationalize.css --save

If you don’t need IE9 support, install normalize.css@latest.

Usage

@import url('normalize.css');
@import url('rationalize.css');

Starting styles

If you want to apply set of sensible starting styles, also import start.css to your project:

@import url('rationalize.css/start.css');

Browser support

Tested in IE9+ and all modern browsers.

Test

For automated tests, run npm run test:automated (append :watch for watcher support).

For integration tests, run npm run test:integration (append :watch for watcher support).

For manual tests, run npm run test:manual and open http://localhost:9000/ in your browser.

License

MIT © Ivan Nikolić