3 ms·
Less has the same feature: http://lesscss.org/features/#extend-feature http://lesscss.org/features/#extend-feature
by moretti 13y ago
Less has the same feature:
http://lesscss.org/features/#extend-feature http://lesscss.org/features/#extend-feature
- bluetidepro 13y agoThank you so much for pointing this out, Moretti! It drives me crazy when people talk about the extend feature like only SASS has it. People are always underestimating how similar Less and SASS are.
- mikewhy 13y agoTo be fair, Sass did have it about 3 years before LESS
- kh_hk 13y agoThen, in Bootstrap terms and since the grid syntax is offered in mixins, should it be used as follows .foo-class { &:extend(.col-md-4, .col-md-offset-8) } instead of using the mixin? .foo-class { make-md-column(4); make-md-column-offset(8); }