I have been playing for some time, but I canβt LESS work in IE 8!
I made a very simple page to check it out.
Here is the HTML ...
<!DOCTYPE html> <html> <head> <link rel="stylesheet/less" href="css/v1.less"> <script src="js/jquery.js"></script> <script src="js/less.js"></script> </head> <body>hello world!</body> </html>
Here is ME ...
@base_colour:red; body { background:@base_colour; }
This works with Firefox, but not on IE 8.
jQuery works fine since I tested changing the background with $('body').css()
and it worked in IE 8 without any problems.
I tried adding type="text/css"
tags to link tags and reverting to old school documents, but that doesn't matter.
Any pointers?
source share