public
Description: Leaner CSS
Homepage: lesscss.org
Clone URL: git://github.com/cloudhead/less.git
cloudhead (author)
Fri Jun 26 10:51:24 -0700 2009
commit  ae358ba962e98f65f616145caa746602aa552a59
tree    9d45d0064c7c55964524b0b15525d0f6281f137c
parent  170be5d37592598d72536943d91d9a5734098b53
less /
name age message
file .gitignore Mon May 18 21:10:07 -0700 2009 cleanup [cloudhead]
file LICENSE Mon May 18 18:18:49 -0700 2009 apache license [cloudhead]
file README.md Mon Jun 15 19:06:36 -0700 2009 link to site [cloudhead]
file Rakefile Wed Jun 17 00:32:26 -0700 2009 pretty output [cloudhead]
file VERSION Loading commit data...
directory bin/ Wed Jun 17 00:30:44 -0700 2009 destination is figured out in Command now [cloudhead]
file less.gemspec
directory lib/
directory spec/
README.md

LESS

It's time CSS was done right – LESS is leaner css.

Explained

LESS allows you to write CSS the way (I think) it was meant to, that is: with variables, nested rules and mixins!

Here's some example LESS code:

@dark: #110011;
.outline { border: 1px solid black }

.article {
    a { text-decoration: none }
    p { color: @dark }
    .outline;
}

And the CSS output it produces:

.outline { border: 1px solid black }
.article a { text-decoration: none }
.article p { color: #110011 }
.article { border: 1px solid black }

If you have CSS nightmares, just

$ lessc style.less

For more information, see you at http://lesscss.org