Is there a tool available for converting a manually created CSS file into a nested, well optimized LESS file?
-
1There's this: leafo.net/lessphp/lessify - but it's incomplete to the point of mostly being useless. Just do it manually. Anyway, if you want to use LESS, you need understand it.thirtydot– thirtydot2011-09-19 08:34:02 +00:00Commented Sep 19, 2011 at 8:34
-
It seems sufficient for what I need, that is aggregation of nested classes - I'll do the rest manually. Cheers!webwise– webwise2011-09-19 11:06:13 +00:00Commented Sep 19, 2011 at 11:06
Add a comment
|
2 Answers
No. Time to roll up your sleeves and re-create whatever css you have into .less files.
If you are building a framework, I highly suggest looking at this, as it contains many variables and mixins that are helpful for .less files.
Keep in mind that while {less} is awesome, you should not use it for deployment. I suggest using your .less files for development only, and compiling them into minified .css files for deployment/production.