The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › LESS if statement
I got this in Sass:
@if $support-old-ie { .lt-ie8 & { display: inline; zoom: 1; } }
Now I want it in LESS. I tried:
.lt-ie8 & when (@support-old-ie) { display: inline; zoom: 1; }
but that doesn’t seem to work. It’s for [this](https://github.com/CrocoDillon/JustifyGrid/blob/master/Less/justifygrid.less).
Edit: [CodePen](http://www.codepen.io/seraphzz/pen/zgodJ) (line 27)