Cata breakpoints
Custom media queries
These are predefined values and recommendations based on this article http://bradfrost.com/blog/post/7-habits-of-highly-effective-media-queries I prefer em instead of px, and I recommend applying a subset of values depending on the type of project and personal preferences.
@);@);@);@);
How use
{}
Installation
NPM
npm install cata-breakpoints
Yarn
yarn add cata-breakpoints
Download
Testing
Install Node (comes with npm) and run:
npm install
Or install Yarn and run:
yarn
To generate a build:
npm run build
To lint code with postcss-bem-linter and stylelint
npm run lint
To generate the testing build.
npm run build-test
Basic visual tests are in test/index.html
.
Browser support
- Google Chrome
- Firefox
- Safari
- Opera
- Internet Explorer 9+