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
Trying to apply dynamic speed this way:
className={`[--duration:${speed}s]`}
This results in a very slow and always the same scroll speed, regardless of the speed value.
Hardcoding, it works:
className={`[--duration:10s]`}
console.log(`[--duration:${speed}s]`) // returns the right value: [--duration:5s]
Any ideas?
The text was updated successfully, but these errors were encountered:
Hi sorry for late reply, As far as i know this are tailwindcss limitation, you can't use dynamic value like that without configuring it in the config.
https://tailwindcss.com/docs/content-configuration#dynamic-class-names
Sorry, something went wrong.
No branches or pull requests
Trying to apply dynamic speed this way:
This results in a very slow and always the same scroll speed, regardless of the speed value.
Hardcoding, it works:
Any ideas?
The text was updated successfully, but these errors were encountered: