html网页预加载动画,简单的css预加载动画.html

纯CSS3加载动画特效

body {

background-color: #02aff1;

}

#center {

position: absolute;

top: 50%;

left: 50%;

margin-top: -180px;

margin-left: -75px;

width: 150px;

height: 80px;

font-family: "Lato", sans-serif;

font-weight: 600;

font-size: 16px;

color: #fff;

text-align: center;

-webkit-font-smoothing: antialiased;

}

.skype-loader {

width: 80px;

height: 80px;

position: relative;

margin: auto;

margin-top: 60px;

margin-bottom: 70px;

}

.skype-loader .dot {

position: absolute;

top: 0;

left: 0;

width: 80px;

height: 80px;

animation: 1.7s dotrotate cubic-bezier(0.775, 0.005, 0.310, 1.000) infinite;

}

.skype-loader .dot:nth-child(1) {

animation-delay: 0.2s;

}

.skype-loader .dot:nth-child(2) {

animation-delay: 0.35s;

}

.skype-loader .dot:nth-child(3) {

animation-delay: 0.45s;

}

.skype-loader .dot:nth-child(4) {

animation-delay: 0.55s;

}

.skype-loader .dot:after, .skype-loader .dot .first {

content: "";

position: absolute;

width: 8px;

height: 8px;

background: white;

border-radius: 50%;

left: 50%;

margin-left: -4px;

}

.skype-loader .dot .first {

background: #fff;

margin-top: -4px;

animation: 1.7s dotscale cubic-bezier(0.775, 0.005, 0.310, 1.000) infinite;

animation-delay: 0.2s;

}

@keyframes dotrotate {

from { transform: rotate(0deg); }

to { transform: rotate(360deg); }

}

@keyframes dotscale {

0%, 10% { width: 16px; height: 16px; margin-left: -8px; margin-top: -4px; }

50% { width: 8px; height: 8px; margin-left: -4px; margin-top: 0; }

90%, 100% { width: 16px; height: 16px; margin-left: -8px; margin-top: -4px; }

}

加载中,请稍后

一键复制

编辑

Web IDE

原始数据

按行查看

历史

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值