# Less

> It's CSS, with just a little more

Source: https://talira.ai/catalog/less-5dcq8wqz
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [frontend / css / preprocessors](https://talira.ai/categories/frontend/css/preprocessors)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source under Apache-2.0.
- Free tier: yes[^1]
- Self-hostable: yes[^3]
- Plugins: yes[^4]
- Backed by: [Less Core Team](https://talira.ai/orgs/lesscss.md)
- Creator: Alexis Sellier (@cloudhead)

Less (Leaner Style Sheets) is a backwards-compatible language extension for CSS, and Less.js is the JavaScript tool that compiles it to CSS. It adds variables, mixins (including guarded and parametric ones), nesting with bubbling at-rules, operations, built-in colour, maths and string functions, namespaces, maps, scope and imports, while any valid CSS stays valid Less. You compile with the `lessc` command, from Node.js, in build tools, or in the browser with less.js for development. Less was created in 2009 by Alexis Sellier, inspired by [Sass](https://talira.ai/catalog/sass-q2bnr7qw.md) with a syntax closer to CSS, and is maintained by a core team of volunteers under Apache-2.0.

## Links

- Website: https://lesscss.org/
- GitHub: https://github.com/less/less.js
- Docs: https://lesscss.org/features/

## Problems it solves

- repeat the same colours and sizes across a big stylesheet without copying hex values everywhere
- reuse a block of CSS declarations in many rules with parameters, like a function
- nest selectors and media queries inside their parent rule so the stylesheet mirrors the HTML
- darken, lighten or mix brand colours with functions instead of picking every shade by hand
- split our CSS into files and import them into one compiled stylesheet
- maintain an older theme or framework whose styles are written in Less
- try out stylesheet variables in the browser during development without a build step
- compile stylesheets from the command line in a build script

## Features

- variables, including lazy evaluation and variable interpolation
- mixins with parameters, guards and pattern matching
- nesting with nested at-rules that bubble up
- operations on numbers, colours and units
- built-in functions for colours, maths, strings, lists and types
- namespaces and accessors, maps and scope
- @import with options (reference, inline, optional and more)
- lessc command-line compiler with options
- compiles in Node.js or in the browser with less.js
- plugins that add functions, preprocessors and file managers
- any valid CSS is valid Less

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.46 out of 1.
Signals: backing 0.50, extensibility 0.40.

- backed by Less Core Team
- created by Alexis Sellier (@cloudhead)
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Sass](https://talira.ai/catalog/sass-q2bnr7qw.md): CSS with superpowers
- [bat](https://talira.ai/catalog/bat-msy8z9ks.md): A cat(1) clone with wings.

## Sources

[^1]: https://lesscss.org/about/ (checked 22 Nov 2026)
[^2]: https://github.com/less/less.js/blob/master/LICENSE (checked 22 Nov 2026)
[^3]: https://lesscss.org/usage/ (checked 22 Nov 2026)
[^4]: https://lesscss.org/features/#plugin-atrules-feature (checked 22 Nov 2026)
