I have a simple keyframe animation which grows a dot and transforms the background into blue. How can I dynamically alter this background color?
@keyframes growDot {
100% {
background-color: #23b7e5;
-webkit-transform: scale3d(0.9, 0.9, 0.9);
transform: scale3d(0.9, 0.9, 0.9);
}
}
Obviously, something like $('keyframes growDot').css("background-color", "#FF00B0"); is not working.