Kilter
CSS filters that work across browsers. Requires Ruby 1.9.2 or 1.9.3.
Usage
Add to your Gemfile
:
gem 'kilter', '~> 0.1.0'
In your .scss
file (or the equivalent in .sass
):
@import "kilter"; // all filters
// OR
@import "kilter/grayscale"; // only a specific filter
img.grayscale {
@include grayscale(75%);
// OR
@include filter(grayscale(75%));
}
Contributing
bundle install
haml-server
open http://localhost:4567/test/index.html