A handy bag of Sass mixins and utilities, and the Sass little brother to Stylus's Axis Library.
Knapsack only provides pure css as defined by the w3c spec any browser prefixing can and should be applied by auto-prefixer.
Currently there are 3 installation options:
- With npm:
npm install knapsack
- With bower:
bower install knapsack
- or manually import
knapsack/indexinto your css pipeline
Full documentation is here.
Experiment with the latest version of Knapsack on Codepen.
- Clone/fork the repo:
- Install dependencies:
- Install linter:
gem install scss-lint
- Add/edit scss in
- Add comments to code following Sassdoc format
- Run linter:
scss-lint knapsack -c .scss-style.yml
- Create pull request
(Publishing instructions for contributors here)