Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

We migrate from Gulp to Webpack (and from JS to TS) and we have some conditional less imports so: @import (optional) This worked without any issues before and just used the style, when available. Now ...
Thomas Gebetsberger's user avatar
0 votes
0 answers
46 views

I'm building an application with Vite where the projects' structure is the same but different projects need different color themes. Each project has its own .less file with the same variable names but ...
Lee Ren Jie's user avatar
0 votes
1 answer
408 views

I am migrating existing web application built with react-scripts and craco to Rsbuild following this guide. The project is using LESS and CSS (LESS) modules pattern. During a build step a receive a ...
ezze's user avatar
  • 4,160
0 votes
1 answer
20 views

I want to generate dynamically @keyframes like this, but for an arbitrary number of steps: @keyframes slide-7-icons { 0% { … } 14.2857% { … } 28.5714% { … } 42.8571% { … } ...
Shtole's user avatar
  • 377
1 vote
1 answer
54 views

How can I add "," separated content: "," to all ul > li not the last two lists <style> ul li:nth-last-child(2)::after { content: "," } </style> is not ...
Altaf Malik's user avatar
0 votes
0 answers
443 views

My main.js file (entry point) is importing _app.less. And _app.less is in turn importing several LESS files. But, whenever I modify an imported LESS file, I can see a hmr event in the console ([vite] ...
Aghyul Kyoku's user avatar
  • 1,058
0 votes
1 answer
38 views

I want to introduce a pseudo-element, say, input-text to be replaced with the following list in any context: input[type="text"], input[type="search"], input[type="tel"], ...
Shtole's user avatar
  • 377
0 votes
1 answer
24 views

Is there a way to pass a variable by reference in a LESS mixin? .test-mixin(@varname) { test-prop: @@varname; // Works, test-prop is 5. @@varname: 7; // Error } :root { @test-var: 5; ....
Shtole's user avatar
  • 377
0 votes
0 answers
34 views

I have css-loader version 7.1.2 and according to their release notes, I have to structure my code as such: In my component, I imported the style: import * as styles from './mycomponent.module.less' I ...
noblerare's user avatar
  • 12.1k
0 votes
0 answers
26 views

I am trying to incrementally migrate to CSS Modules from an app that has about 100 LESS files. I can't seem to get my app to build anymore so I was wondering if someone can take a look. My CSS loader ...
noblerare's user avatar
  • 12.1k
0 votes
1 answer
115 views

It seems in my environment (Linux On Power) there are issues when I try to run a linux command in gdb. Using less prints the whole file to stdout rather than running less. Vim tells me the output is ...
John Demetros's user avatar
0 votes
1 answer
69 views

As far as I know, there is still no such thing as a “relative pixel” in CSS. (1 relative pixel == 1px, if 1rem == 16px, or proportionally changed, if not). I'm looking for an expressive way of ...
Shtole's user avatar
  • 377
0 votes
0 answers
37 views

Can :has be nested in :is? Both :has and :is MDN articles don't cover nesting. I have the following code (it changes opacity, when a container is hovered or contains a tabbed element): *:is(:hover, :...
Shtole's user avatar
  • 377
0 votes
0 answers
324 views

I want to compile a standalone .less file in Visual Studio 2022, that is not a part of any project, every time the file is being saved (into a .css file with the same name in the same folder). Is ...
Shtole's user avatar
  • 377
0 votes
0 answers
22 views

I am trying to create a custom vertical scrollbar using the following LESS code. The goal is to style the scrollbar such that: The scrollbar's height dynamically occupies 80% of the container's ...
JarMoo's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
486