lessify will attempt to compress and organize your CSS code into
LESS code. This is an experimental tool, please report any bugs on the
lessphp issue tracker.
As of now, the only CSS to LESS minimization technique used is to match common prefixes for CSS blocks. for a sample.
CSS goes here:
LESS comes here:
#header {
color:black;
border:1px solid #dd44dd;
}
#header .navigation { font-size:12px; }
#header .navigation a { border-bottom:1px solid green; }
#header .logo { width:300px; }
#header .logo:hover { text-decoration:none; }