Top "Less" questions

Less is an open-source stylesheet preprocessor that extends CSS with dynamic behavior such as variables, mixins, operations and functions.

Less mixin with optional parameters

I have a Less mixin defined as: .fontStyle(@family, @size, @weight: normal, @style: normal, @color: #ffffff, @letter-spacing: normal) { font-family: @family; …

css parameters less mixins
How to use less css with django?

I'm using twitter bootstrap and django. I've got my dependencies handled with a pip requirements file. I've got 2 questions: How …

python django less
LESS css set dynamic background image with mixin

I am using LESS CSS . I am currently using Mixins with variables. Something like this works okay : .border-radius (@radius) { border-radius: @…

css variables less mixins
Compass style libraries for LESS css?

SASS has Compass (a community maintained library of sass mixins/methods). Does LESS have any supporting libraries that can compare …

css less compass-sass
grunt replace all less files into css files

I use grunt to convert all my less files into css files,using this: less: { development: { files: { "css/*.css": "less/*.…

javascript less gruntjs glob
Less CSS: Mixins with Variable Number of Arguments

LESS allows parametric mixins, such as: .transition(@property, @duration){ transition: @property @duration; -moz-transition: @property @duration; /* Firefox 4 */ -webkit-transition: @property @duration; /* Safari …

css less css-transitions less-mixins
LESScss converting rgba to hex? how to nest color variables into a mixin?

Does LESScss convert all rgba colors to hex values? I am trying to create a mixin, say, .color, that allows …

css colors rgba less
lessc binary not available after installing less via NPM

I went ahead and installed and tested node.js and then I installed LESS CSS via NPM but when I …

css node.js less npm
Gulp less not handling includes properly, included variables not defined

I am using less and Grunt, and am moving to gulp. My less works. When I run: lessc public/less/…

javascript css less gulp gulp-less
Remove LESS // comments on compile

Is it possible to configure LESS to remove "// comments" when it compiles via JS? I want to remove them from …

css less