less
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
copy-anything | 2.0.6 | 4.04 kB | MIT | prod | |
errno | 0.1.8 | 6.17 kB | MIT | prod optional | |
graceful-fs | 4.2.11 | 9.57 kB | ISC | prod optional | |
image-size | 0.5.5 | 6.81 kB | MIT | prod optional | |
make-dir | 2.1.0 | 3.5 kB | MIT | prod optional | |
mime | 1.6.0 | 15.32 kB | MIT | prod optional | |
needle | 3.3.1 | 67.92 kB | MIT | prod optional | |
parse-node-version | 1.0.1 | 2.18 kB | MIT | prod | |
source-map | 0.6.1 | 194.96 kB | BSD-3-Clause | prod optional | |
tslib | 2.6.2 | 15.59 kB | 0BSD | prod |
Less is a dynamic preprocessor style sheet language that allows developers to make their CSS more maintainable, themeable, and extendable. This dynamic stylesheet language allows you to use features such as variables, mixins, functions and operations to help produce more efficient CSS. It is a JavaScript plugin that extends CSS with dynamic behavior. It is officially maintained and stable, ensuring a reliable and smooth performance for all your development tasks.
To use Less, you first need to install it in your project. Using Node.js' package manager npm, you can easily install Less. Here is an example of how to incorporate Less into your project:
npm install less
styles.less
) and write some Less code:@color: #4D926F;
#header {
color: @color;
}
lessc styles.less styles.css
styles.css
) in your HTML file:<link rel="stylesheet" type="text/css" href="styles.css">
The complete documentation and additional resources for Less can be found on its official website http://lesscss.org. These comprehensive documents cover everything from getting started, the different features and functionalities of Less, to more advanced topics to help you make the most of this powerful tool.