如何使得旋转和缩放过渡都生效
来源:5-6 作业题
迷失的小麦
2019-12-21 20:38:26
.screen-4_smallbox1_animate_init,.screen-4_smallbox2_animate_init,.screen-4_smallbox3_animate_init,.screen-4_smallbox4_animate_init
{opacity: 0;transform: rotate(180deg);transform: scale(0.1);}
.screen-4_smallbox1_animate_done,.screen-4_smallbox2_animate_done,.screen-4_smallbox3_animate_done,.screen-4_smallbox4_animate_done
{opacity: 1;transform: rotate(0deg);transform: scale(1);}
1回答
好帮手慕粉
2019-12-22
同学你好,缩放同学可以使用动画来实现,参考:
由于同学只是粘贴了css代码,所以老师并不确定这个能生效,但是思路都是一样的,同学可以结合自己的代码添加animation动画,在动画帧里面设置缩放效果。
如果我的回答帮助到了你,欢迎采纳,祝学习愉快~
相似问题