Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @keyframes right {
- 100% {
- left: 500000px;
- }
- }
- .animate-right {
- animate: right 500s 1;
- }
- function(e) {
- var el = this;
- setTimeout(function() {
- el.className = el.className.replace('animate-right', '');
- }, 500);
- el.className += ' ' + animate-right;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement