You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merging to #1399. Also regarding this particular example and considering #1399 (comment) and #2702 (comment) I'd just suggest to write it in opposite (first "normal" mixin then CSS class) e.g.:
Hi,
I'm getting the "Error: .weight-400 is undefined" message when trying to use a dynamicaly generated (via parent operator) class name.
Is there any way how to make this work?
.weight{
&-100 { font-weight: 100; }
&-200 { font-weight: 200; }
&-300 { font-weight: 300; }
&-400 { font-weight: 400; }
&-500 { font-weight: 500; }
&-600 { font-weight: 600; }
&-700 { font-weight: 700; }
}
h1{
.weight-400;
}
The text was updated successfully, but these errors were encountered: