I want to use a Polymorphism mixin in Less, I have set default values for my parameters, regarding that both the Polymorphism mixins have different nu ...
I want to use a Polymorphism mixin in Less, I have set default values for my parameters, regarding that both the Polymorphism mixins have different nu ...
Is there any efficient way to write this code with less.js: I've got already 3 variables colors : @vert, @violet and @orange I thought of a m ...
I'm looking for a way to create a custom mixin less function that would act as follows: And that would transpile to: Is that possible with less ...
We're introducing a dark theme for our site that can be turned on and off on the fly, so we're using CSS custom properties. The problem is that we sti ...
I have a LESS loop that generates different CSS (incremental) classes extracting color values from a list. My current LESS code is the following: .g ...
I have this code: Inside containers-d-1.less I reference a mixin from mixins-d-1.less. However, I get an error saying that it's undefined. I'm abl ...
I'm trying to write a dynamic mixin with LESS to generate the CSS automatically based on an ID. Is it possible with LESS? Expected result: ...
Hi is it possible to use mixin parameter as a part of the class name used in this mixin or do it in some other way? ...
I am trying to use boostrap mixin for box-shadow and transition as below in my less file: Lets look at its compiled css: You can see above mixin ...
I just found out CSS's @media is a mixin that takes different parameters like width/height/orientation etc. to determine what device is used and then ...
With LESS, I'm trying to come up with a snappy way to calculate margins, paddings, and the like based upon defining an amount. Currently, I'm specif ...
Less lets you mark an import as optional like this: I have a Less file that I'm importing optionally which contains a mixin that I use in the paren ...
I'm using Bootstrap 3.3.7s Less mixins for their grid system, found here. My basic concept is to increase gutter size as my screen size increases. He ...
I have a basic mixin class that I want to use in hundreds of classes But I don't want MainContentView to show up in the compiled CSS. I just want i ...
is there a way to pass value from Angular (version 1.5.2) controller to mixins in the SASS? I do have mixin which display elements according to two in ...
I am trying to create the following Less via a loop. @brand-gold: #bd9e5e; &.brand-gold { background:@brand-gold; } &.brand-gold-20 { back ...
I have some basic mixins that apply some rules using media queries And I'm trying to build a very simple flex-based grid system, I'm trying to pass ...
The issue I'm a newbie to LESS, and we just learned some basics about parametric mixins in my Intermediate CSS & Preprocessors course. I'm workin ...
I am a beginner in bootstrap and I'm not able to understand this concept. What's the meaning of the less code below? ...
I've created @mixin in SASS to do media queries for me; Works perfect, but I want to add another part (aspect-ratio, orientation etc.) to the @medi ...