CSS3 animation--圆圈刷新动画
来源:互联网 发布:淘宝tv订单是什么意思 编辑:程序博客网 时间:2024/06/03 21:47
1.先看看效果图:
2.点击该刷新按钮通常会发送一下ajax请求,待到$(document).ajaxStop()。再移除该动画效果即可
<div class="flash"><img src="./flash_icon.png" alt="flash"/></div>
CSS:
.flash{width:30px;height:30px;position:fixed;bottom:150px;right:50px;}.flash img{width:30px;height:30px;}@keyframes flash-rotate{0% {}100% {-webkit-transform:rotate(360deg);}}.animation-rotate{-webkit-animation-name:flash-rotate;-webkit-animation-duration:0.8s;-webkit-animation-timing-function:linear;-webkit-animation-iteration-count:infinite;}
JS:
$(".flash").click(function(){$(this).addClass("animation-rotate");//begin a request here});
0 0
- CSS3 animation--圆圈刷新动画
- css3动画产生圆圈从小到大
- CSS3 -webkit-animation(动画)
- CSS3 动画之animation
- CSS3之动画Animation
- css3的animation 动画
- css3 animation动画事件
- webkit-animation css3 动画
- CSS3动画 Animation
- css3 animation 动画应用
- CSS3----动画animation
- css3-animation动画
- css3的动画animation
- CSS3 Animation 帧动画
- CSS3 动画 Animation
- css3动画animation属性
- CSS3 Animation 动画
- css3动画-animation属性
- BOM模型
- 游戏服务器结构分析(MapServer)
- (apache ,lighttpd,nginx)三大WEB服务器对比分析
- Multiple annotations found at this line
- sql中的replace用法
- CSS3 animation--圆圈刷新动画
- java二叉树
- 阿里云ECS服务器下挂载数据盘、JDK安装、tomcat安装
- js报TypeError $(...) is null错误
- 一个优秀IT系统管理员该有的良好习惯
- 用C++写HelloWorld
- visual studio 2015运行VC++控制台程序,如何解决提示系统找不到指定文件【解决办法】
- java 调用 ffmpeg 进行视频转换以及截图
- C++侵入式智能指针的实现