Top "Less" questions

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

Disable LESS-CSS Overwriting calc()

Right Now I'm trying to do this in CSS3 in my LESS code: width: calc(100% - 200px); However, when LESS …

css less css-calc
How to use if statements in LESS

I'm looking for some kind of if-statement to control the background-color of different div elements. I have tried the below, …

css if-statement less
Twitter Bootstrap Customization Best Practices

I'm working with Bootstrap 2.0.3 using LESS. I want to customize it extensively, but I want to avoid making changes to …

twitter-bootstrap less
How to compile less/sass files in Visual Studio 2017

In VS <= 2015 we can use WebEssentials extension that takes care for compiling the less/sass files for us, but …

visual-studio sass less visual-studio-2017 css-preprocessor
Fluid Container in Bootstrap 3

How to make fluid container in bootstrap 3? In bootstrap 2.3.2 .container-fluid class is there. But now in bootstrap 3 it is missing …

css twitter-bootstrap less twitter-bootstrap-3
How to use bootstrap with 16 or 24 columns

I need some help setting bootstrap 2.0.4 to be 16 or 24 column instead of the default 12 columns i can't understand what am …

twitter-bootstrap customization less
How do I convert a hexadecimal color to rgba with the Less compiler?

I have the following code: @color : #d14836; .stripes span { -webkit-background-size: 30px 30px; -moz-background-size: 30px 30px; background-size: 30px 30px; background-image: -webkit-gradient(…

css less
Immediate Child selector in LESS

Is there anyway to have LESS apply the immediate child selector ( > ) in its output? In my style.less, I …

css css-selectors less
LESS CSS nesting classes

I'm using LESS to improve my CSS and am trying to nest a class within a class. There's a fairly …

css nested less
Modify alpha opacity of LESS variable

Using LESS, I know that I can change the saturation or tint of a color variable. That looks like this: …

css variables less opacity alpha