Skip to content

Background image with encoded svg #12772

Answered by noahw3
noahw3 asked this question in Help
Jan 17, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Ah thank you for pointing me in the right direction. It actually does seem to work without url encoding as well, turns out I just needed to recompile as changes to my tailwind config weren't being picked up dynamically.

Updated Tailwind Play

It does only work by extending the tailwind theme though, trying to use an inline arbitrary value does not (probably something to do with trying to create an invalid class name).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@noahw3
Comment options

Answer selected by noahw3
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
3 participants