-webkit-animation
来源:互联网 发布:淘宝买电玩人马皮肤 编辑:程序博客网 时间:2024/05/29 11:43
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title> <style> @-webkit-keyframes 'wobble' { 0% { margin-left: 100px; background: green; } 40% { margin-left: 250px; background: orange; } 60% { margin-left: 350px; background: blue; } 100% { margin-left: 1000px; background: red; } } .demo1 { width: 50px; height: 50px; margin-left: 100px; background: blue; -webkit-animation-name:'wobble';/*动画属性名,也就是我们前面keyframes定义的动画名*/ -webkit-animation-duration: 2s;/*动画持续时间*/ -webkit-animation-timing-function: ease-in-out; /*动画频率,和transition-timing-function是一样的*/ -webkit-animation-delay: 2s;/*动画延迟时间*/ -webkit-animation-iteration-count: 3;/*定义循环资料,infinite为无限次*/ -webkit-animation-direction: alternate;/*定义动画方式*/ } </style></head><body> <div class="demo1"> </div></body></html>
阅读全文
0 0
- webkit-animation
- -webkit-animation
- CSS3 -webkit-animation(动画)
- 神器 -webkit-animation
- webkit-animation css3 动画
- -webkit-animation的使用
- -webkit-animation的使用
- -webkit-animation的使用方法
- -webkit-animation的使用
- css3 -webkit-animation与-webkit-keyframes
- 详解css3中webkit-animation
- Using Keyframes – WebKit CSS Animation Examples
- -webkit-animation属性的一个误用
- sass写法 给animation添加webkit前缀(待完善)
- webkit
- webkit
- webkit
- webkit
- Tomcat基础实验一
- 小程序学习心得之数据绑定技巧
- 一次Windows上OracleMTSRecoveryService无法启动问题
- POJ 1251 Jungle Roads (prim)
- Maven的使用
- -webkit-animation
- 【java集合】自己实现简易的Hashtable
- 学习小结
- centos6.5安装jdk
- 抽象类和接口
- 虫食算 90
- 学科总结
- dubbo 环境搭建
- 大国外交案列