Hi there,
I would like to animate CF7’s button to change the bg color. Here’s the CSS I used:
@keyframes yourAnimation{
0%{
transform: rotate(xx);
background: #00CCFF;
}
100%{
transform: rotate(xx);
background: #003289;
}
}
.input[type=“submit”]:hover {
animation: yourAnimation 1.5s infinite 0s linear;
}
What am I missing here? And when should I use Keyframes and when should I use things like:
transition-property: all;
transition-duration: 300ms;
transition-timing-function: ease;
Thanks for the help!