javascript - LESS (client side) does not compile certain CSS properties -


The website I'm working on has IE 7 and display: inline-block Need to Support

Looking around I think * display: inline; and * zoom: 1; can solve this problem. The problem is that it is not compiled at least in my CSS.

Even zoom: 1; does not compile (without star icon) to ensure that I added some other valid assets for the same CSS class and it works.

In summary: I can not get the zoom and IE7 CSS-property selector (*) to work with less in my browser. Is there any fix for this?

  & lt; Script & gt; Less = {env: 'development'}; & Lt; Script & gt;    

with less 1.5

  // IE7 Inline-block // ---------------- .ie7-inline-block () {* display: inline; / * IE7 Inline-Block Hack * / * Zoom: 1; } P {. I7-inline-block (); }   

Compile to:

  p {* display: inline; / * IE7 Inline-Block Hack * / * Zoom: 1; }    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -