What is a CSS Pre-processor
Mostly, a tool to make your life easier!
Technically, a language that extends the CSS.
Why use one?
In a word: Variables
And: Nesting, Importing, Operations
Bonuses: Formatting and Minification
Leave a comment »
Mostly, a tool to make your life easier!
Technically, a language that extends the CSS.
In a word: Variables
And: Nesting, Importing, Operations
Bonuses: Formatting and Minification
.grey-border( @width: 1px, @type: solid, @color: #ddd; ) { border:@arguments; } [/code] Use:CSS:
1. Decide which preprocessor
2. Decide how you will compile your files
3. Start writing (less)