Bootstrap(editing)

Ref

Bootstrap
@IT(Japanese)

What?

CSS layout library powered by Twitter
Useful for design

Gemfile

gem 'bootstrap-sass'
gem 'sprockets'
  • bootstrap-saas
  • LESS -> Sass Use Bootstrap file in an application

  • sprockets
  • Asset pipeline

Compatible Bootstrap(enable)

config/application.rb


module SampleApp
class Application < Rails::Application . . . config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif) end end [/ruby]

Apply CSS

Sass CSS Sassy Css:Scss
app/assets/stylesheets/custom.css.scss

@import "bootstrap";

Also Add common style 
/* universal */