Gradient easing #20270
mrleblanc101
started this conversation in
Ideas
Gradient easing
#20270
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Linear gradients often have hard edges where they start and/or end.
We can avoid those by controlling the color mix with easing functions.
It's currently a CSSWG proposal.
It would be nice if tailwindcss would add easing utilities in core.
While this is currently not yet supported by browser, it could be polyfilled in the meantime.
There is a PostCSS plugin.
I know Tailwindcss v4 dropped PostCSS, so it would need to ship its own solution for this plugin.
More info here: https://larsenwork.com/easing-gradients/
Beta Was this translation helpful? Give feedback.
All reactions