robbyrussell / less forked from cloudhead/less
- Source
- Commits
- Network (38)
- Downloads (2)
- Graphs
-
Branch:
master
less /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon May 18 21:10:07 -0700 2009 | |
| |
LICENSE | Mon May 18 18:18:49 -0700 2009 | |
| |
README.md | Mon Jun 15 19:06:36 -0700 2009 | |
| |
Rakefile | Wed May 20 11:19:58 -0700 2009 | |
| |
VERSION | Mon Jun 15 18:51:44 -0700 2009 | |
| |
bin/ | Thu Jun 04 16:12:15 -0700 2009 | |
| |
less.gemspec | Mon Jun 15 19:06:36 -0700 2009 | |
| |
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

