Used it on my latest project. Loved it and will definitely be using it from here on out. I don’t need the functionality too terribly often but when in the few cases when I do, it’s super handy.
For whatever reason, I didn’t like SASS too terribly much. No real reason why, just never clicked with me.
Mark,
How did you find the experience? Did it reduce the development time, etc? I haven’t tried it out yet.
cheers/k
Sounds interesting...but I prefer to stick with css since that is universal. It seems to me that this would mean that your css file would need to be compiled on the server before being passed to the browser....we could use nested php to do some this (variables for example) and not need to install another compiler on the server or learn a new syntax. If the browser could handle the .less file natively then it would be golden. Unless I missed something.
Have you tried less.js
http://lesscss.org/ especially for development work.
I know extJS are using SASS + Compass
I think YUI are at present using/looking at less.js
Same syntax as CSS with all the SASS goodies (I know SASS has both options)
DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31
Thanks for the instruction. works fine for me. only cant import less files. e.g. @import 'colors.less'; with variables wont be compiled, @import 'colors.css'; gets imported (of course only true css). the lessphp documentation says it should work. Cant see, if the snippet needs any adjustment. Any idea on that?
The latest version of lessCSS has been added to the repository so you can download it via Package Manager.
...as for the import, the only thing I can think of that it might be is to make sure you are using the proper URL structure for CSS:
@import 'colors.less'
@import url(colors.less);