5 ms·
If you're using Sass with Bootstrap, then you're probably using the compiled version of Bootstrap (i.e. the final .css file.) If that's the case, you're missing
by LeandroLovisolo 15y ago
If you're using Sass with Bootstrap, then you're probably using the compiled version of Bootstrap (i.e. the final .css file.) If that's the case, you're missing out all the LESS mixins and variables that Bootstrap provides.
If you're serious about adopting Bootstrap, you should consider switching to LESS.
The less-rails-boostrap gem makes it easy if you're working on a Rails app. It integrates seamlessy with Rails' asset pipeline, and has a generator for Rails scaffold CSS.
https://github.com/metaskills/less-rails https://github.com/metaskills/less-rails
https://github.com/metaskills/less-rails-bootstrap https://github.com/metaskills/less-rails-bootstrap
- barmstrong 15y agoYou can also use the sass forks of bootstrap (700 watchers) https://github.com/jlong/sass-twitter-bootstrap https://github.com/jlong/sass-twitter-bootstrap
- LeandroLovisolo 15y agoThat's awesome. Glad to hear a Sass port exists. Out of curiosity, (and assuming you use the sass-twitter-boostrap gem in your projects) do you use any other Sass libraries besides Bootstrap port?
- danneu 15y agoI use the Compass library which works great with Bootstrap. The recent Railscast also got me testing out the [Bourbon gem](https://github.com/thoughtbot/bourbon https://github.com/thoughtbot/bourbon) (a similar Sass libary) on a new project along with Bootstrap.