Page 1 of 1

Card animations

Posted: Sat Nov 21, 2020 4:57 pm
by janez72
I put 2 Buttons inside a Card.
Then, I made animation for each one - background color on hover.

Problem - whenever I go with mouse over card (anywhere, not only on buttons), all animations are triggered.

Re: Card animations

Posted: Sat Nov 21, 2020 6:10 pm
by Pablo
It is difficult to help you without seeing exactly what you have done.
Please always include a demo project so I can see all your settings.

Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=82134

Re: Card animations

Posted: Sat Nov 21, 2020 6:53 pm
by janez72
Just please put an animation (I used background-color on hover) on any button in card.
It will be triggered as soon as you hover over card (anywhere).
Should be triggered only when I hover over that specific button.

Re: Card animations

Posted: Sat Nov 21, 2020 7:21 pm
by crispy68
I don't have an animation called background-color. I see background-color under Transitions. If you add the transition to the card then it affects the entire card. If you add it to the button it only affects the button. I think you will want to use an event.

Re: Card animations

Posted: Sat Nov 21, 2020 7:44 pm
by janez72
I ment Animation Tab. Yes, you are right, you put in Transition on hover.

Try once more - as soon as you go over the card, the transition is triggered.
You don't have to go over button.

Re: Card animations

Posted: Sat Nov 21, 2020 7:46 pm
by crispy68
Try once more - as soon as you go over the card, the transition is triggered.
You don't have to go over button.
That's correct because the transition is set for the entire card. If you set the transition to just the button, then it only affects the button. I think you want to use an event (when I click/hover a button do this).

Re: Card animations

Posted: Sat Nov 21, 2020 8:00 pm
by janez72
I know how to work, I put in transitions for button only, not for the entire card.
Image
Ok, I could use event instead. Which event?
Mouseover, yes. And then? I want to change background color on hover.
It works ok with buttons. Just not with buttons inside cards.

Re: Card animations

Posted: Sat Nov 21, 2020 8:01 pm
by janez72
https://ibb.co/RzHTyF9

Here's the screenshot.