Bits n Pieces

This library was built to play with pieces, a front end toolkit for ruby.

This library is opinionated so you might prefer to roll your own.

Installation

Just add the following lines to your Gemfile:

gem 'pieces'
gem 'bits-n-pieces'

Batteries Included

Useful things

Here is a quick summary of other bits included.

@import 'bits/media_queries';

html {
  font-size: 16px;

  @include from(tablet) {
    font-size: 20px;
  }
}
@import 'bits/normalize';

// includes latest normalize.css
@import 'bits/reset';

// applies zero margin, zero padding and box-sizing: border-box
// to all elements
@import 'bits/columns';

// shortcut for including bourbon and neat for columns