animate.css
animate.css copied to clipboard
Added missing to opacity 1 for entrance animations
I am triggering animations via JS once the element scrolls into view. For most entrance animations, this means that I need to add opacity:0 to the element so that we do not see the elements until I trigger the animation.
Several of the entrance animations stopped animating opacity part way through the animation. Therefore, this would generate a flash during from where opacity:1 was set until the end of the animation. The fix was simply to make sure that the opacity is set to 1 all the way to the end of the animation inside of the to block.
Do you have a codepen for this changes? @joeworkman
Here is a codepen... https://codepen.io/joeworkman/pen/806494d7b7c38a16d1ba52ebd0eae89e
This shouldn't be needed. animation-fill-mode should've dealt with it. I'll investigate this and get back here.
This is a bit outdated now, sorry about this. I'll close it as I'll be working on a bunch of parts regarding this anyway