This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 385877c4f71c35a9ddcd390b381f12fcf4713efe
tree fc170411e2e066e743648deb8650ae59483d316b
parent 6073b711220b48993dfd94ddd3652bab2fb2c178
tree fc170411e2e066e743648deb8650ae59483d316b
parent 6073b711220b48993dfd94ddd3652bab2fb2c178
less /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon May 18 21:10:07 -0700 2009 | |
| |
LICENSE | Mon May 18 18:18:49 -0700 2009 | |
| |
README.md | Wed Jul 08 14:18:54 -0700 2009 | |
| |
Rakefile | ||
| |
VERSION | ||
| |
bin/ | ||
| |
less.gemspec | ||
| |
lib/ | ||
| |
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]
People without whom this wouldn't have happened a.k.a Credits
- Dmitry Fadeyev, for pushing me to do this, and designing our awesome website
- August Lilleaas, for initiating the work on the treetop grammar, as well as writing the rails plugin
- Nathan Sobo, for creating treetop
- Jason Garber, for his magical performance optimizations on treetop
- And finally, the people of #ruby-lang for answering all my ruby questions. apeiros, manveru and rue come to mind








