Flip In Y Animation Effect
Run
HTML
Flip In Y
CSS
.circle { width: 100px; height: 100px; background: #ad132a; border-radius: 50%; } .flipInY { backface-visibility: visible !important; animation-name: flipInY; animation-duration: 1s; animation-iteration-count: infinite; animation-delay: 1s; animation-fill-mode: both; } @keyframes flipInY { 0% { transform: perspective(400px) rotate3d(0, 1, 0, 90deg); transition-timing-function: ease-in; opacity: 0; } 40% { transform: perspective(400px) rotate3d(0, 1, 0, -20deg); transition-timing-function: ease-in; } 60% { transform: perspective(400px) rotate3d(0, 1, 0, 10deg); opacity: 1; } 80% { transform: perspective(400px) rotate3d(0, 1, 0, -5deg); } 100% { transform: perspective(400px); } }
Follow Us