Skip to content

Gradients with Transparency on Safari #2399

Answered by adamwathan
Nick-Mazuk asked this question in Help
Discussion options

You must be logged in to vote

Hey! Check out this demo repo, shows you how to do it:

https://github.com/adamwathan/tailwind-css-variable-text-opacity-demo

Basically you need to define your colors as a callback, and accept the opacityValue argument and stick it in the right place.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Nick-Mazuk
Comment options

Answer selected by Nick-Mazuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants