concept
animation-origin — CSS reference
CSS animations supply animated values above normal author declarations but below important declarations. The keyframes themselves do not acquire importance from an element rule; !important declarations inside keyframes are ignored. Pausing or finishing an animation is different from removing it.
Formal Syntax & Structure
css syntaxcss
@keyframes fade { to { opacity: .4; } }Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS reference lab</title><style>@keyframes fade {from,to {opacity:.4}} p {animation:fade 1s linear paused both;opacity:.8} #b {opacity:.9!important}</style><body><p id="a" class="note">Field note</p><p id="b">Control</p></body></html>