Skip to content

Text transparent with background image #2862

Answered by chr-ge
romainmartinez asked this question in Help
Discussion options

You must be logged in to vote

You can use bg-clip-text (docs): https://play.tailwindcss.com/YGa2BXRcXT
Or, you can achieve this by using mix-blend-mode: https://play.tailwindcss.com/6xRcScjAON?file=css

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@romainmartinez
Comment options

@simonswiss
Comment options

Answer selected by romainmartinez
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants