twitter/bootstrap — Issue #1037: Add a .border-box to the mixins
Author: Anahkiasen
Created: 2012-01-17 22:48:14+00:00
State: open

Just a detail but I think adding a .border-box mixins to the mixins.less file could be useful, for those times when you need to set the width of a block in % but dont want that size messed up when you apply padding.
Something in those waters :

.border-box()
{
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

If it's already implemented under another form I'd be glad to know, anyway, thought it might be useful.