吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 5057|回复: 7
收起左侧

[其他转载] 【网页源码】纯CSS3马达Loading加载动画源码

[复制链接]
coMainly.鑫 发表于 2016-6-16 10:05
本帖最后由 coMainly.鑫 于 2016-6-16 10:06 编辑

QQ截图20160616094358.png
CSS代码如下
复制代码

@-webkit-keyframes piston {    0% { margin-top: 0; }    50% { margin-top: 80px; }    100% { margin-top: 0; }}@keyframes piston {    0% { margin-top: 0; }    50% { margin-top: 80px; }    100% { margin-top: 0; }}@-webkit-keyframes arm {    0% { -webkit-transform: rotate(0); }    25% { -webkit-transform: rotate(-18deg); }    50% { -webkit-transform: rotate(0); }    75% { -webkit-transform: rotate(18deg); }    100% { -webkit-transform: rotate(0); }}@keyframes arm {    0% { transform: rotate(0); }    25% { transform: rotate(-18deg); }    50% { transform: rotate(0); }    75% { transform: rotate(18deg); }    100% { transform: rotate(0); }}html {    height: 100%;}body {    margin: 60px 0 0;    text-align: center;    background: linear-gradient(to bottom, coral, tomato);}#robot {    position: absolute;    top:50%; left:50%;    width: 540px;    height: 250px;    margin-top:-125px; margin-left:-270px;    font-family: 'Oswald', sans-serif;    font-size: 30px;    font-weight: 700;    color: #444;    text-shadow: 0px -1px 1px rgba(0,0,0,.7), 0px 1px 1px rgba(255,255,255,.4);}.piston {    float: left;    margin-right: 10px;    position: relative;    width: 100px;     height: 250px;    background: rgba(0,0,0,.1);    border-radius: 10px 10px 50px 50px;    box-shadow: 0 -4px 0 rgba(0,0,0,.2), 0 4px 0 rgba(255,255,255,.2);}.piston:last-child {    margin: 0;}.piston .block {    position: relative;    width: 100px;     height: 60px;    line-height: 60px;    background: #555;    border-radius: 10px;    -webkit-animation: piston 1.2s cubic-bezier(.5,0,.5,1) infinite;    animation: piston 1.2s cubic-bezier(.5,0,.5,1) infinite;    box-shadow: inset 0 -4px 0 rgba(0,0,0,.2), inset 0 4px 0 rgba(255,255,255,.2);}.piston:nth-child(1) .block { -webkit-animation-delay: 0s; animation-delay: 0s; }.piston:nth-child(2) .block { -webkit-animation-delay: .1s; animation-delay: .1s; }.piston:nth-child(3) .block { -webkit-animation-delay: .2s; animation-delay: .2s; }.piston:nth-child(4) .block { -webkit-animation-delay: .3s; animation-delay: .3s; }.piston:nth-child(5) .block { -webkit-animation-delay: .4s; animation-delay: .4s; }.piston .arm {    position: absolute;    top:50%; left:50%;    margin: -10px 0 0 -10px;    width: 20px;    height: 150px;    background: #555;    border-radius: 10px;    box-shadow: inset 0 -22px 0 rgba(0,0,0,.2);    z-index: -1;    -webkit-transform-origin: center 10px;    -webkit-animation: arm 1.2s linear infinite;    -webkit-animation-delay: inherit;    transform-origin: center 10px;    animation: arm 1.2s linear infinite;    animation-delay: inherit;}.piston .arm:before,.piston .arm:after{    content: '';    position: absolute;    right:0; left:0;    height: 16px;    background: #eee;    border-radius: 50%;    margin: 2px;}.piston .arm:before { top: 0; }.piston .arm:after { bottom: 0; }.piston .rotator {    position: absolute;    bottom: 0;    width: 100px;    height: 100px;    border-radius: 10px;    border-radius: 50%;    border: 20px solid rgba(0,0,0,.1);    box-sizing: border-box;    z-index: -1;}


源码演示:http://www.comainly.com/yingyong/demo/loading1/index.html

源码下载:

http://pan.baidu.com/s/1nuQfy57



发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

头像被屏蔽
疯狂的菜刀 发表于 2016-6-16 10:06
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| coMainly.鑫 发表于 2016-6-16 10:08
eflysky 发表于 2016-6-16 10:44
名字丨难取 发表于 2016-6-16 11:44
这代码底色看着晃眼
juguo2016 发表于 2016-6-16 12:17
有创意,用得着,收下了。
feiye 发表于 2016-6-16 12:27
正好需要这个
Note_8 发表于 2016-6-16 15:28
有款票据打印软件,不知楼主能不能破解,【创新票据打印软件】http://www.cxrj123.com/?Action=SY-1001(5.0)  增值税票据管理系统
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-9-23 09:24

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表