twitter/bootstrap — Issue #1215: Negative offset for source ordering? wip-2.0
Author: andregriffin
Created: 2012-01-25 19:50:24+00:00
State: open

It would be nice if we could use negative offsets to allow presentation order to be independent from source order. For example, to have the first sidebar to come after the content in the source, but be presented still to the left of the content.

###For example, we could use something like in mixins.less:
```
.inset(@columns: 1) {
margin-left: 0 - ((@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)));
}
```

###Then in scaffolding.less
```
// Inset column options
.inset1 { .inset(1); }
.inset2 { .inset(2); }
.inset3 { .inset(3); }
.inset4 { .inset(4); }
.inset5 { .inset(5); }
.inset6 { .inset(6); }
.inset7 { .inset(7); }
.inset8 { .inset(8); }
.inset9 { .inset(9); }
.inset10 { .inset(10); }
.inset11 { .inset(11); }
```

Thoughts on adding something like this? Is this already possible, and I just missed it?