We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@keyframes waves { 0% { width: 0px } 25% { width: 50px } 50% { width: 100px } 75% { width: 150px } 100% { width: 200px } }
waves是动画名字;里面的值除了支持百分数,还支持from和to,相当于0%和100%
animation-name: waves; animation-duration: 2s; animation-timing-function: ease; animation-delay: 0s; animation-iteration-count: infinite; /*normal:从头开始;alternate:轮流反向播放*/ animation-direction: normal;
#20
代码: https://github.com/qingfengmy/weekend_js/tree/master/html/animation
效果:http://htmlpreview.github.io/?https://github.com/qingfengmy/weekend_js/blob/master/html/animation/index.html
代码:https://github.com/qingfengmy/weekend_js/tree/master/html/music 效果:http://htmlpreview.github.io/?https://github.com/qingfengmy/weekend_js/blob/master/html/music/index.html
The text was updated successfully, but these errors were encountered:
CSS3 @keyframes 规则 CSS3 animation 属性
Sorry, something went wrong.
No branches or pull requests
1. keyframe帧动画
waves是动画名字;里面的值除了支持百分数,还支持from和to,相当于0%和100%
2. animation
3. 属性动画trasiction
#20
4. 普通例子
代码: https://github.com/qingfengmy/weekend_js/tree/master/html/animation
效果:http://htmlpreview.github.io/?https://github.com/qingfengmy/weekend_js/blob/master/html/animation/index.html
5. 复杂例子
代码:https://github.com/qingfengmy/weekend_js/tree/master/html/music
效果:http://htmlpreview.github.io/?https://github.com/qingfengmy/weekend_js/blob/master/html/music/index.html
The text was updated successfully, but these errors were encountered: