Hacker News new | ask | show | jobs
by LeandroLovisolo 5209 days 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-bootstrap

1 comments

You can also use the sass forks of bootstrap (700 watchers)

https://github.com/jlong/sass-twitter-bootstrap

That'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?

I 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) (a similar Sass libary) on a new project along with Bootstrap.