We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using gulp-less v4.0.1, so with less v2.6.x || v3.7.1 In this particular case the * selector gets lost in the compiling the mixin:
.nth-child(@child, @start, @increment, @decrement, @rules) when (@child > 0) { .nth-child(@child - 1, @start, @increment, @decrement, @rules); &:nth-child(@{child}) { @rules(); } } @animation-delay: { animation-delay: @start + (@child * @increment) - (@child * @decrement); }; .content > * { animation-delay: 150ms; // @start + @child * @increment .nth-child(@child:3, @start:0ms, @increment:50ms, @decrement:0ms, { @animation-delay(); }); }
.content > * { animation-delay: 150ms } .content > :nth-child(1) { animation-delay: 50ms } .content > :nth-child(2) { animation-delay: .1s } .content > :nth-child(3) { animation-delay: 150ms }
.content > * { animation-delay: 150ms } .content > *:nth-child(1) { animation-delay: 50ms } .content > *:nth-child(2) { animation-delay: .1s } .content > *:nth-child(3) { animation-delay: 150ms }
The text was updated successfully, but these errors were encountered:
works anyway without *, I close the issue
Sorry, something went wrong.
Hmm, It's still unexpected. I think it's worth re-opening.
No branches or pull requests
Using gulp-less v4.0.1, so with less v2.6.x || v3.7.1
In this particular case the * selector gets lost in the compiling the mixin:
Example
Result
Expected Result
The text was updated successfully, but these errors were encountered: