Try adding animation-fill-mode: forwards;
. For example like this:
-webkit-animation: bubble 1.0s forwards; /* for less modern browsers */
animation: bubble 1.0s forwards;
More Related Contents:
- Animate text for landing page
- Use CSS3 transitions with gradient backgrounds
- Stopping a CSS3 Animation on last frame
- css3 transition animation on load?
- Changing Background Image with CSS3 Animations
- Play multiple CSS animations at the same time
- CSS3 animation not working in safari
- How to animate a radial-gradient using CSS?
- CSS animation delay in repeating
- How can I transition width of content with width: auto?
- Passing parameters to css animation
- Background-image in keyframe does not display in Firefox or Internet Explorer
- CSS3 Spin Animation
- Webkit CSS Animation issue – persisting the end state of the animation? [duplicate]
- Deprecated SMIL SVG animation replaced with CSS or Web animations effects (hover, click)
- Why can’t I animate custom properties (aka CSS variables)?
- CSS: Animation vs. Transition
- Animating max-height with CSS transitions
- Changing :hover to touch/click for mobile devices
- How to prevent a CSS keyframe animation from running on page load?
- Maintaining the final state at end of a CSS animation
- How to add animated gradient to an svg path?
- Filling water animation
- Reuse CSS animation in reversed direction (by resetting the state?)
- Pure CSS animation visibility with delay
- CSS Animation property stays after animating
- Looping Animation of text color change using CSS3
- How can I delay the start of a CSS animation?
- Disable CSS animation on pseudo element inherited from parent
- Continuous CSS rotation animation on hover, animated back to 0deg on hover out