Bootstrap(editing)
Ref
What?
CSS layout library powered by Twitter
Useful for design
Gemfile
gem 'bootstrap-sass' gem 'sprockets'
- bootstrap-saas
- sprockets
LESS -> Sass Use Bootstrap file in an application
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 */