Create your button, select it, navigate to the Interactions panel.
Select the first option – Mouse click (tap)
Set and style the 1st click animation to change the BG color of your button when it is clicked.
Set and style the 2nd click animation to change the BG color of your button when it is clicked and supposed to toggle back to the original color.
On top of all the preset animations like slide, fade, jello, etc, the first option is to create a custom animation. Select that and then choose BG color.
Webflow has an amazing knowledge base for you to learn more about interactions and animations.
Thanks for that! I’ve been able to set the BG colour for the first click, but am unsure how to revert this with the second click. How should I do this?
@SantiagoDev you need to add in another interaction on mouse click but this time select “on Second click” and follow the same steps you did first time around
The problem I’m finding is that when I change the background colour for “second click animation”, it seems to also change the background for first click…
Thanks for that. The solution I found was to have two separate options selected. If you create one with BG colour, and try and change that on second click, it’ll also change the original. What works is creating a second BG colour option, and selecting that one for the second.