完整 Animation
填空题 简单
题目
Fill in 空白到 apply 'fadeIn' animation over 2 seconds.
代码
.box {
___: fadeIn 2s ease-in;
}
提示
它是 shorthand 属性 for keyframe animations.
解释
'animation' shorthand 属性 applies keyframe animation. 完整语法是: animation: name duration timing-函数 delay iteration-数量方向 fill-模式 play-状态. 这里, 'fadeIn 2s ease-in' 设置 name, duration, and timing 函数.
相关资源
相关课程
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。