html多个实心圆点横向排列,CSS3 多个圆点过渡

本文介绍了一个使用CSS实现的加载动画示例,详细展示了如何通过不同的动画延迟和关键帧来创建动态效果,同时引入了Julius Sans One字体以增强视觉表现。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

CSS

语言:

CSSSCSS

确定

@import url('http://fonts.googleapis.com/css?family=Julius+Sans+One');

body {

background-color: #3f51b5;

text-align: center;

}

.square-container {

margin-top: 100px;

position: relative;

display: inline-block;

margin-bottom: 10px;

}

.square {

height: 12px;

width: 12px;

background-color: #009688;

float: left;

margin: 10px;

margin-bottom: 30px;

border-radius: 50%;

-webkit-animation-name: loading;

-webkit-animation-duration: 4s;

-webkit-animation-iteration-count: infinite;

}

.uno {

-webkit-animation-delay: 1s;

}

.dos {

-webkit-animation-delay: 1.5s;

}

.tres {

-webkit-animation-delay: 2s;

}

.communication {

font-family: Julius Sans One;

font-size: 1.5em;

color: rgba(255, 255, 255, 0.87);

font-weight: bold;

letter-spacing: 20px;

margin-right: -20px;

-webkit-animation-name: message;

-webkit-animation-duration: 3s;

}

@-webkit-keyframes loading {

30% {

background-color: transparent;

}

}

@-webkit-keyframes message {

0% {

color: transparent;

}

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值