0.0
No commit activity in last 3 years
No release in over 3 years
Pure CSS for Rails Asset Pipeline
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Pure CSS for Rails Asset Pipeline

Based on pure.css version 0.6.0.

Install

  1. Add this to your Gemfile

    gem "pure-css-rails"

  2. Run

    $ bundle

  3. Add pure to application.css (Use pure-nr for non-responsive version)

    //= require pure

  4. Profit!

You don't need to add normalize.css, it is already included.

Responsive grids

Since version v0.5.0, purecss includes separate stylesheets for responsive grids. Thus, //= require grids-responsive to application.css is needed for responsive grids to work. More details can be found on the purecss home page.

History

Since 0.2.1, the gem and the pure.css versions match, so it is easier to pin the library to a specific version via the Gemfile.

Contribute

In the case you find out that something is missing or does not work in a way you'd expect, please file an issue through GitHub.

If you know how to fix the problem, please submit a pull request (preferrably from a topic branch) - patches are always welcome.

Otherwise, just let me know and I'll see how the issue can be resolved. Other contributions (correcting or extending the docs / spreading the word) are also welcome! Thanks!