css3动画 - 实现css3推倒动画
PHPz
PHPz 2017-04-17 11:58:23
0
3
715

想问下这个链接第五张 动效5的动画怎么实现,主要是X轴旋转后 上面边长还是和下面边长一样的 动图上面的边长变短了 效果好 求大神点拨一下

PHPz
PHPz

学习是最好的投资!

reply all(3)
阿神

Just write it this way transform: perspective(400px) rotate3d(1,0,0,60deg);
transform-origin: bottom center;
This perspective should be written in front of other attributes, eh, I I don’t know why

大家讲道理

Probably because you are still using a 2D perspective

左手右手慢动作

It can also be achieved in 2D. It will be large near and small far away. You can rotate the X-axis and reduce the width of the top edge at the same time.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template