css3动画之上下抖动
来源:互联网 发布:淘宝如何进入卖家中心 编辑:程序博客网 时间:2024/05/17 03:46
.common_animate:hover{
animation-duration:1s; /*动画时间*/
animation-fill-mode: both; /*播放后的状态*/
animation-name: buzz-out;
animation-iteration-count: infinite; /*动作循环的次数:infinite 无限循环*/
transform-origin: center bottom; /*设置动画旋转元素的基点为:居中靠下*/
0%,
100%,
20%,
50%,
80% {
transition-timing-function: cubic-bezier(0.215,0.61,0.355,1); /*贝塞尔曲线 : X1 Y1 X2 Y2*/
transform: translate3d(0,0,0); /*设置只在Z轴上移动*/
}
40%,
43%{
transition-timing-function: cubic-bezier(0.755,0.50,0.855,0.060);
transform: translate3d(0,-30px,0);
}
70%{
transition-timing-function: cubic-bezier(0.755,0.050,0.855,0.060);
transform: translate3d(0,-15px,0);
}
90%{
transform: translate3d(0,-4px,0);
}
}
animation-duration:1s; /*动画时间*/
animation-fill-mode: both; /*播放后的状态*/
animation-name: buzz-out;
animation-iteration-count: infinite; /*动作循环的次数:infinite 无限循环*/
transform-origin: center bottom; /*设置动画旋转元素的基点为:居中靠下*/
cursor: pointer;
}
0%,
100%,
20%,
50%,
80% {
transition-timing-function: cubic-bezier(0.215,0.61,0.355,1); /*贝塞尔曲线 : X1 Y1 X2 Y2*/
transform: translate3d(0,0,0); /*设置只在Z轴上移动*/
}
40%,
43%{
transition-timing-function: cubic-bezier(0.755,0.50,0.855,0.060);
transform: translate3d(0,-30px,0);
}
70%{
transition-timing-function: cubic-bezier(0.755,0.050,0.855,0.060);
transform: translate3d(0,-15px,0);
}
90%{
transform: translate3d(0,-4px,0);
}
}
0 0
- css3动画之上下抖动
- 纯CSS3动画之上下翻转
- css3动画 抖动效果
- 利用html5/css3 动画效果,实现图片果冻抖动效果
- 自己实现CSS3动画抖动效果的实践记录
- 动画抖动
- 抖动动画
- CSS3变形与动画下
- UITextField抖动动画
- ios 抖动动画效果
- ios抖动动画效果
- Android抖动动画
- 抖动动画效果
- UITextField抖动动画
- unity3d 动画抖动解决
- 视图抖动动画
- 图标左右抖动动画
- ios抖动动画效果
- Docker常用命令
- 事务脏读,不可重复读,幻读
- 深入理解JavaScript系列(4):立即调用的函数表达式
- Unity开发Android游戏(二)Hello world!
- android 设计模式: 策nue模式
- css3动画之上下抖动
- cocos2d - JS 修改 index.html 的 title
- 第4章 处理用户输入与显示数据------------(从键盘输入的命令read,对输入计时计数)
- android-async-http ,volley ,okhttp分析
- 第二节 telnet模拟get和post方法
- 安卓 数据库的使用
- EditText 显示隐藏软键盘
- [Leetcode] 5. Longest Palindromic Substring 解题报告
- solr定时任务dataimport报错解决