Gradients does not work without From #2228
Answered
by
adamwathan
jenstornell
asked this question in
Help
-
I don't know if it's a bug or not. From is required but the others are optional. Can't the From value be "magical" when not present just like the To value? Works
Does not work
To try the combinations out you can use https://tailwind-gradient-designer.csspost.com/ Without From but others includedWith From without the others |
Beta Was this translation helpful? Give feedback.
Answered by
adamwathan
Aug 23, 2020
Replies: 1 comment
-
Yep this is expected behavior and in the documentation. I couldn't think of a clever way to make it work but maybe I missed one. Recommendation is to just flip the gradient and use from instead of to 👍🏻 Super cool tool btw, nice work! 🙌🏻 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
simonswiss
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yep this is expected behavior and in the documentation. I couldn't think of a clever way to make it work but maybe I missed one. Recommendation is to just flip the gradient and use from instead of to 👍🏻
Super cool tool btw, nice work! 🙌🏻