I’ve forked CSSWizardry-grids, a SASS based grid system, and ported it to LESS. Here is how you would use it:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="grid"> | |
<div class="grid__item one-whole lap-one-half desk-two-thirds"> | |
... | |
</div> | |
<div class="grid__item one-whole lap-one-half desk-one-third"> | |
... | |
</div> | |
</div> |
The only caveat is that at the moment you can’t use the generated classes as LESS mixins, but I’m looking to correct this.