top | item 5999815

Twitter Bootstrap's Undocumented Mixins

18 points| ely-s | 12 years ago |ely-s.github.io | reply

4 comments

order
[+] wise_young_man|12 years ago|reply
Is it really that hard to navigate to the source? https://github.com/twitter/bootstrap/blob/master/less/mixins...

If you are using LESS, you are probably capable of looking at Twitter Bootstrap's LESS files to find them.

[+] bpatrianakos|12 years ago|reply
Not everyone is a pro. A lot of Bootstrap users are still learning the front end. Beyond that, I'm pretty advanced with LESS, SASS, and CSS and the first time I looked at Boostrap's LESS files I got overwhelmed. There's just a ton of stuff going on there.

I'm the kind of developer who can appreciate reusable front end code and even have my own framework for it (which is my most and only popular GitHub repo) but Bootstrap is just enormous. I'm of the opinion that if you can't confine your reusable modules to a set of about 4 files and customize each by changing just a couple lines of code, mostly variables, then your best bet is to either admit you're going to make your site look like Bootstrap, fight the framework, or just roll your own. If you want to go with options one and two then this post is definitely helpful. The source can only get you so far.

[+] shoebappa|12 years ago|reply
I found the synopsis view incredibly helpful.