Target IE7/IE8 in css (less) -
i'm using .less compile css.
is there way target ie7/ie8 in less file particular rules?
thanks
absolutely use conditional classes paul irish posted about if can, because it's slick, easy write , maintain styles for, , limits hackery 1 place.
that said, if want target 1 rule @ version of old ie, can use favorite hacks letting less compiler know whatever you're trying outside bounds of things should worry :)
the following generate kinds of less compiler errors:
.class{ _margin: !15pl*madhax!__dang,ie; }
but, if wrap hacky madness inside ~""
, less ignore (although still have access @variables
if want use them)
.class{ _margin: ~"!15pl*madhax!__dang,ie"; }
hope helps!
Comments
Post a Comment