在html怎么让圆点消失,CSS3 圆点阵列依次消失动画

CSS

语言:

CSSSCSS

确定

body {

background-color: #0cf;

}

.loading {

height: 85px;

left: 50%;

margin-left: -42.5px;

margin-top: -42.5px;

position: absolute;

top: 50%;

-webkit-transform: translateZ(0);

transform: translateZ(0);

width: 85px;

}

.loading-circle {

-webkit-animation: 2291ms loading infinite;

animation: 2291ms loading infinite;

background-color: #fff;

border-radius: 50%;

height: 14px;

position: absolute;

-webkit-transform: scale(0);

-ms-transform: scale(0);

transform: scale(0);

width: 14px;

}

.loading-circle:nth-child(1) {

-webkit-animation-delay: 42ms;

animation-delay: 42ms;

}

.loading-circle:nth-child(2) {

-webkit-animation-delay: 84ms;

animation-delay: 84ms;

}

.loading-circle:nth-child(3) {

-webkit-animation-delay: 126ms;

animation-delay: 126ms;

}

.loading-circle:nth-child(4) {

-webkit-animation-delay: 168ms;

animation-delay: 168ms;

}

.loading-circle:nth-child(5) {

-webkit-animation-delay: 210ms;

animation-delay: 210ms;

}

.loading-circle:nth-child(6) {

-webkit-animation-delay: 252ms;

animation-delay: 252ms;

}

.loading-circle:nth-child(7) {

-webkit-animation-delay: 294ms;

animation-delay: 294ms;

}

.loading-circle:nth-child(8) {

-webkit-animation-delay: 336ms;

animation-delay: 336ms;

}

.loading-circle:nth-child(9) {

-webkit-animation-delay: 378ms;

animation-delay: 378ms;

}

.loading-circle:nth-child(10) {

-webkit-animation-delay: 420ms;

animation-delay: 420ms;

}

.loading-circle:nth-child(11) {

-webkit-animation-delay: 462ms;

animation-delay: 462ms;

}

.loading-circle:nth-child(12) {

-webkit-animation-delay: 504ms;

animation-delay: 504ms;

}

.loading-circle:nth-child(13) {

-webkit-animation-delay: 546ms;

animation-delay: 546ms;

}

.loading-row1 {

top: 1.3px;

}

.loading-row2 {

top: 18.95px;

}

.loading-row3 {

top: 36.55px;

}

.loading-row4 {

top: 54.2px;

}

.loading-row5 {

top: 71.85px;

}

.loading-col1 {

left: 1.25px;

}

.loading-col2 {

left: 18.85px;

}

.loading-col3 {

left: 36.5px;

}

.loading-col4 {

left: 54.15px;

}

.loading-col5 {

left: 71.8px;

}

@-webkit-keyframes loading {

0% {

-webkit-transform: scale(0);

transform: scale(0);

}

27.28% {

-webkit-transform: scale(1);

transform: scale(1);

}

36.36% {

-webkit-transform: scale(0.857);

transform: scale(0.857);

}

54.55% {

-webkit-transform: scale(0.857);

transform: scale(0.857);

}

63.64% {

-webkit-transform: scale(0);

transform: scale(0);

}

100% {

-webkit-transform: scale(0);

transform: scale(0);

}

}

@keyframes loading {

0% {

-webkit-transform: scale(0);

transform: scale(0);

}

27.28% {

-webkit-transform: scale(1);

transform: scale(1);

}

36.36% {

-webkit-transform: scale(0.857);

transform: scale(0.857);

}

54.55% {

-webkit-transform: scale(0.857);

transform: scale(0.857);

}

63.64% {

-webkit-transform: scale(0);

transform: scale(0);

}

100% {

-webkit-transform: scale(0);

transform: scale(0);

}

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值