Flip Out X Animation Effect
Run
HTML
Flip Out X
CSS
.circle { width: 100px; height: 100px; background: #ad132a; border-radius: 50%; } .flipOutX { animation-name: flipOutX; animation-duration: .75s; backface-visibility: visible; animation-duration: 1s; animation-iteration-count: infinite; animation-delay: 1s; animation-fill-mode: both; } @keyframes flipOutX { 0% { transform: perspective(400px); } 30% { transform: perspective(400px) rotate3d(1, 0, 0, -20deg); opacity: 1; } 100% { transform: perspective(400px) rotate3d(1, 0, 0, 90deg); opacity: 0; } }
Follow Us