Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

willholley/less

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Packages

No packages published

Languages

  • Ruby 100.0%