Skip to content
kni-labsPublic

About

🎒 A handy bag of Sass mixins and utilities - http://kni-labs.github.io/knapsack/

Resources

Stars

14 stars

Watchers

10 watching

Forks

Latest commit

 

History

112 Commits

Folders and files

Repository files navigation

Knapsack

npm version

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.

Installation

Currently there are 3 installation options:

  • With npm: npm install knapsack
  • With bower: bower install knapsack
  • or manually import knapsack/index into your css pipeline

Documentation

Full documentation is here.

Codepen Sandbox

Experiment with the latest version of Knapsack on Codepen.

Contributing

  1. Clone/fork the repo:
  2. Install dependencies: npm install
  3. Install linter: gem install scss-lint
  4. Add/edit scss in /knapsack
  5. Add comments to code following Sassdoc format
  6. Run linter: scss-lint knapsack -c .scss-style.yml
  7. Create pull request

(Publishing instructions for contributors here)

Credits

Several mixins ported and adapted from the incredible Axis Stylus Library and a resets are from scut.

About

🎒 A handy bag of Sass mixins and utilities - http://kni-labs.github.io/knapsack/

Resources

Stars

14 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages