Getting started | Less.js | Website analytics by TrustRadar
Blurry colored background
lesscss.org Web Development CSS Pre-processor Front-end Tools

Getting started | Less.js

Less extends CSS with dynamic behavior such as variables, mixins, operations and functions. Less runs on both the server-side (with Node.js and Rhino) or client-side (modern browsers only).

Less is a CSS pre-processor, meaning that it extends the CSS language, adding features that allow variables, mixins, functions and many other techniques that allow you to make CSS that is more maintainable, themable and extendable. Less runs inside Node, in the browser and inside Rhino. There are also many 3rd party tools that allow you to compile your files and watch for changes.

Unique Visits

135000

4500 / day

Total Views

150000

5000 / day

Visit Duration, avg.

00:03:45

2.5 page per visit

Bounce Rate

40%

  • Domain Rating

  • Domain Authority

  • Citation Level

Founded in

2009

Supported Languages

English, etc

Key Features of the Site

Variables

Use variables to easily reuse values throughout your stylesheets.

Mixins

Mixins allow you to embed all the properties of a class into another class by simply including the class name as one of its properties.

Nested Rules

Nested rules allow you to write CSS in a hierarchical manner, making it easier to read and maintain.

Functions & Operations

Less supports functions and operations, allowing for dynamic CSS.

Namespaces and Accessors

Namespaces can be used to group your mixins, making them easier to manage and access.

Scope

Less provides scope for variables and mixins, similar to programming languages.

Comments

Less supports both block-style and inline comments.

Importing

You can import .less files, and all the variables and mixins will be available to the main file.

Additional information

License

Less is open source and licensed under the Apache License, Version 2.0.

Community

Less has a vibrant community of developers and contributors. There are numerous plugins and tools developed by the community to extend its functionality.

Compatibility

Less is compatible with all modern web browsers. It can also be used with Node.js for server-side rendering.

Documentation

Comprehensive documentation is available on the official website, including a getting started guide, language features, and usage examples.

Performance

Less is designed to be lightweight and fast, with a focus on performance and efficiency in processing stylesheets.

HTTP headers

Security headers report is a very important part of user data protection. Learn more about http headers for lesscss.org