3 ms·
What's always surprised me is people taking the compiled CSS and working directly off of that. I thought the whole point was that since it's LESS, you can chan
by deservingend 14y ago
What's always surprised me is people taking the compiled CSS and working directly off of that.
I thought the whole point was that since it's LESS, you can change things up really easily.
- autoreverse 14y agoBecause sometimes LESS is more (learning curve)
- dolphenstein 14y agoEasy until you try to upgrade.
- lowboy 14y agoIt makes the upgrade process easier if you stick to only making changes in their variables.less file[0], or even better creating a copy of it and including that instead in bootstrap.less. Heck, you can even just create your own top-level myproject.less file and copy over the includes you need using bootstrap.less[1] as a template. [0]: https://github.com/twitter/bootstrap/blob/master/less/variables.less https://github.com/twitter/bootstrap/blob/master/less/variab... [1]: https://github.com/twitter/bootstrap/blob/master/less/bootstrap.less https://github.com/twitter/bootstrap/blob/master/less/bootst...
- deservingend 14y agoJust import bootstrap.less into your own project's main less file and go from there.
- deleted 14y ago[deleted]
- lowboy 14y agoAgreed. Most of the time you end up with a smaller file as it's easier to comment out the various modules as you're going as opposed to downloading customized builds from the website as you work. Also, if Sass/Compass is more your cup of tea, there's a well-maintained port of Bootstrap[0]. [0]: https://github.com/jlong/sass-twitter-bootstrap https://github.com/jlong/sass-twitter-bootstrap