Home

Awesome

Compass Recipes project status

A series of Compass and Sass mixins and functions for creating delicious CSS effects.

Demos

Note: These are demos of the repository at its current state, not the last stable gem. To get the most up-to-date recipes, please see Installation for instructions on installing the repo at his current state*

Types of Recipes

Installation

Compass Recipes is available as a gem on RubyGems.org, so installation is quite easy.

gem install compass-recipes

If you want all latests recipes, you can just checkout the recipes (or download as zip) and add '{your-path-here-or-./}compass-recipes/stylesheets' using additional_import_paths or add_import_path (see Compass configuration reference

Usage

When compass-recipes installed, you just need to require the compass plugin in your project

require 'compass-recipes'

Then you can include some recipes like this

@import "recipes/shape/triangle";
.my-triangle
{
    @include triangle;
}

Like Compass does, you can include all recipes in a folder like this

@import "recipes/shape";

.my-triangle
{
    @include triangle;
}

.my-square
{
    @include square;
}

Authors/Maintainers

Compass Recipes is maintained by Maxime Thirouin, a front-end web developer at Shopbot, and David Kaneda, creative director at Sencha.

Sous Chefs

While Maxime and David are the primary project maintainers, these people have provided lots of the core ideas and techniques in the recipes. They are the bacon in our BLT: @simurai, @chriscoyier, @leaverou, @necolas.

Open to All

If you have a nifty CSS trick that makes sense to be abstracted (and isn't already in another Github repo), please fork and submit a pull request. Note: If you are not the author of the CSS trick, you must get their permission before adding.

Build Documentation

First you need bundle

bundle install

Then, to build the gh-pages from the tests/, you need to call

bundle exec rake pages

Additional Resources

Some other great CSS/SCSS/design projects for making delicious websites:

License

Copyright (c) 2012 Maxime Thirouin

Released under MIT Licence