Awesome
Purecss Rails
Pure (http://purecss.io/) is ridiculously tiny. The entire set of modules clocks in at 4.4KB minified and gzipped, without forgoing responsive styles, design, or ease of use. Crafted with mobile devices in mind, it was important to us to keep our file sizes small, and every line of CSS was carefully considered. If you decide to only use a subset of these modules, you'll save even more bytes.
purecss-rails project integrates Pure CSS toolkit for Rails Asset Pipeline
Installation
Inside your Gemfile add the following line:
gem 'purecss-rails'
Then run bundle install
to install the gem.
What now?
$ rails g purecss:install
or
$ rails g purecss:install nonresponsive
To add a module, use the file app/assets/stylesheets/purecss.css
like this:
= require purecss/<module_name>
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request