Skip to content
This repository

The twitter bootstrap ported to compass

Fetching latest commit…

Cannot retrieve the latest commit at this time


Compass Twitter Bootstrap is Twitter's toolkit converted for Compass.


Install the gem

gem install compass_twitter_bootstrap

Add it to your Gemfile

gem 'compass_twitter_bootstrap'

Bundle install

bundle install

Add it to your Compass config.rb

require 'compass_twitter_bootstrap'

**Import it into your SCSS file

@import "compass_twitter_bootstrap";

Usage with asset pipeline(Rails 3.1)

Add it to your Gemfile

gem 'compass_twitter_bootstrap'

Bundle install

bundle install

Add it to your Application.rb

# Enable the asset pipeline
config.assets.enabled = true

# Compass integration
config.sass.load_paths << Compass::Frameworks['compass'].stylesheets_directory
config.sass.load_paths << Compass::Frameworks['twitter_bootstrap'].stylesheets_directory

Import it into your SCSS file

@import "compass_twitter_bootstrap"


Bootstrap is Twitter's toolkit for kickstarting CSS for websites, apps, and more. It includes base CSS styles for typography, forms, buttons, tables, grids, navigation, alerts, and more.

To get started -- checkout!


Mark Otto

Jacob Thornton

Copyright and License

Copyright 2011 Twitter, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Something went wrong with that request. Please try again.