How to set gradient background color in container? (Repost)

Hi :wave:

I need to set the background as a linear-gradient for the container.

image

Now I am gonna set gradient backgrund when hover the container.

Please help me how to do this.

Thank you

Denys

Hi @Denys_Shyrokov,

You could use Oscar's solution from this post and make it conditional based off of that .hovered property:

You could also use this conditional statement in the background field directly: