Replies: 2 comments 3 replies
-
You can achieve this in Less using the @selectors: a, b;
each(@selectors, {
@{value} {
c: d;
}
}); This will output: a {
c: d;
}
b {
c: d;
} This approach effectively splits the selector list into individual selectors with the same properties [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
Well, the working solution:
Using either:
Or with a list of normal selectors, such as |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to convert this:
…into:
I want to emulate forgiveness of
:is()
where:is()
is not applicable (with pseudo-elements).Beta Was this translation helpful? Give feedback.
All reactions