Change background color

hello friend, i want to set when card view clicked, change to red but when clicked again, change to grey, here is my block:

How can i achieve that, thanks.

You can check if the card view is red, and if yes, turn to gray, and vice versa

can i have an example


Something like this.

Much thanks.

1 Like

Good question, if you are using multiple card view then this will help you.
I have used red then green then red then green and so on

image

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.