Skip to content

Multiple background images starting with gradient compile to background-color #13823

Answered by wongjn
alb-lv asked this question in Help
Discussion options

You must be logged in to vote

You can "typecast" the value with image: to avoid ambiguities like:

bg-[image:linear-gradient(hsl(0_0%_0%_/_60%),_hsl(0_0%_0%_/_60%)),_url(https://picsum.photos/id/237/1000/600)]

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alb-lv
Comment options

Answer selected by alb-lv
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