@keyframes flip{0%{transform:rotateY(0deg);opacity:1}50%{opacity:0;transform:rotateY(90deg)}to{transform:rotateY(0deg);opacity:1}}.flip-animate{animation:flip .7s ease-in-out;perspective:1000px}