元素绕 Y 轴从侧边翻转入场,悬停可重播
← 返回 入场与交互动画 类特效列表上方为纯 CSS 实时演示,直接将鼠标移上去 / 点击感受效果
.fx .fiy{width:140px;height:80px;margin:56px auto;border-radius:12px;background:linear-gradient(135deg,#4a9eff,#a371f7);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;backface-visibility:hidden;animation:kfx-fiy 1.2s ease both}
.fx:hover .fiy{animation:kfx-fiy 1.2s ease both}
@keyframes kfx-fiy{from{transform:perspective(400px) rotateY(90deg);opacity:0}to{transform:perspective(400px) rotateY(0);opacity:1}}<div class="fx">
<div class="fiy">翻转入场</div>
</div>