-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
&:extend Interpolated Selectors Not Working #1752
Comments
Duplicate of #1325 (also see #1485, #1597 and all crosslinks there). Those issues may differ in details but in general they all are about the same: "Extend dynamically generated classes".
This is another feature: #1196 (already implemented in the master). |
Also not denying the importance of #1325, I feel like I need to express an opinion on your aproach for the particular use-case. You pregenerate ~30 CSS classes with 5 properties in each -> 150 CSS properties that may never be used, are you sure this is optimal? (Actually #1177 + (optionally) a tool like autoprefixer would be much better solution for this use-case). |
@seven-phases-max, that's why I use |
@srsgores I see, still #1177 (provided it is implemented with > 0-parameter mixin support) would be better way to do it than #1325 on top of |
Using
less-1.5.1
, the it appears that LESS is unable to extend interpolated selectors, or generated mixins. The following will not work as expected:It will yield only the generated
delayed
classes:It's as if the generated class doesn't exist. And as you'd expect, doing
delayed-2
results in.delayed-2 is undefined
.Thanks in advance for fixing.
The text was updated successfully, but these errors were encountered: