@keyframes myOwnAnimation { from { bottom: 0; } to { top: 0; } } .myOwnClass { position:fixed; bottom:0; right: 0; animation-name: myOwnAnimation; animation-duration: 4s; animation-delay: 4s; }