twitter/bootstrap — comment on commit 5ad5dde1e24f668cf9b720dd59fc2a7d4808c0b3
File:  line 0
By fat:

Here's a branch with something i'm working on : https://github.com/twitter/bootstrap/blob/new_grid/less/mixins.less#L483

The really cool thing is it uses guards to only conditionally generate classes up to 24 columns. This way we get the variable definition (up to 24 columns) and no extra markup is generated (which is what i wanted)!

Only bad thing is it's a lot of extra less - and fairly complicated. I'm going to work with @cloudhead to make this cleaner - but this seems to be the right path...