Zoom Out Right Animation - MeggiTools
Run
Toggle Theme
Share Link
🛒 Buy Complete Code
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Zoom Out Right Animation</title> <style> .element{ width: 100px; height: 100px; background: #FF6F61; border-radius: 50%; margin: auto; margin-top: 100px; } .zoomOutRight { animation-name: zoomOutRight; animation-duration: 1s; animation-fill-mode: both;animation-iteration-count: infinite; } @-webkit-keyframes zoomOutRight { 40% { opacity: 1; transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0); } 100% { opacity: 0; transform: scale(.1) translate3d(2000px, 0, 0); transform-origin: right center; } } @keyframes zoomOutRight { 40% { opacity: 1; transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0); } 100% { opacity: 0; transform: scale(.1) translate3d(2000px, 0, 0); transform-origin: right center; } } </style> </head> <body> <div class="element zoomOutRight"></div> </body> </html>