I\'m running an animation on some elements that are set to opacity: 0; in the CSS. The animation class is applied onClick, and, using keyframes, it changes the
opacity: 0;
Try adding animation-fill-mode: forwards;. For example like this:
animation-fill-mode: forwards;
-webkit-animation: bubble 1.0s forwards; /* for less modern browsers */ animation: bubble 1.0s forwards;