Skip to main content
Stack Overflow
  1. About
  2. For Teams
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 ...
0 votes
0 answers
47 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 ...
0 votes
1 answer
422 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 ...
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% { ... } ...
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 ...
0 votes
0 answers
458 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] ...
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
  • 376
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; ....
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 ...
0 votes
0 answers
27 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 ...
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 ...
0 votes
1 answer
70 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 ...
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
  • 376
0 votes
0 answers
328 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 ...
1 vote
3 answers
194 views

In my project I have wrapper classes that are reused often and some contain the 'gap' css property. Now I have a component that loads data asynchronously and that component is hidden if the returned ...

15 30 50 per page
1
2 3 4 5
...
486

AltStyle によって変換されたページ (->オリジナル) /