Skip to content

Multiple backgrounds #7444

Answered by mrassili
mrassili asked this question in Help
Feb 13, 2022 · 3 comments · 11 replies
Discussion options

You must be logged in to vote

I figured a way to do it using arbitrary values

For anyone who might need this in the future here's the class syntax: bg-[url(../assets/bg-1.png),_url(../assets/bg-2.png)] the underscore is used by Tailwind to denote whitespace

Replies: 3 comments 11 replies

Comment options

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

Answer selected by mrassili
Comment options

You must be logged in to vote
9 replies
@jonadeline
Comment options

@anna-tymchenko
Comment options

@WalterKstro
Comment options

@zakutnya
Comment options

@amalasyrafs
Comment options

Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
9 participants