Overview
Less (Leaner Style Sheets) is a backward-compatible language extension for CSS. It adds features like variables, mixins, and functions, similar to Sass, but with a slightly different syntax and philosophy.
Key Features
- Variables: Defined with the
@symbol. - Mixins: Allow for the reuse of entire classes within other rules.
- Functions: Built-in functions for color manipulation, math, and more.
- Lazy Loading: Variables can be defined after they are used.
Usage
While Sass has become more dominant in recent years, Less is still used in many legacy projects and is the basis for the popular Bootstrap framework (in its earlier versions).