更多>
最新下载
24小时阅读排行榜
- 1 悟空浏览器官方网址是什么_悟空浏览器官网链接入口直达
- 2 jQuery中position()方法的作用是什么?
- 3 mysql分析器如何理解
- 4 小满吃什么润燥 小满节气时令家常菜
- 5 石头科技:Q3业绩高增叠加双.11开门红,消费热度印证品牌价值
- 6 JavaScript JWT令牌安全验证机制
- 7 光遇苦修行者先祖兑换图2025-光遇苦修行者先祖兑换表
- 8 DeepSeekOCR部署后如何实现定时识别任务_定时任务配置与自动化识别方法
- 9 城堡时代与武将品质双轨制解析:打造你的争霸路线图
- 10 浪漫餐厅兑换码10.30-浪漫餐厅10月30日兑换码分享
- 11 Go语言命名返回值的深度解析与实践
- 12 迅雷网盘如何加密私人文件 迅雷网盘隐私保护的设置方法
- 13 PPK神器驾到!专属三脚架让优雅特工化身战场女王
- 14 钉钉电脑版发起群聊的快捷键
- 15 html5使用localStorage存储数据 html5使用本地存储的实用指南
更多>
最新教程
-
- Node.js 教程
- 6864 2025-08-28
-
- CSS3 教程
- 981716 2025-08-27
-
- Rust 教程
- 10916 2025-08-27
-
- Vue 教程
- 13132 2025-08-22
-
- PostgreSQL 教程
- 10060 2025-08-21
-
- Git 教程
- 4973 2025-08-21
CSS3圆形进度条动画效果
<style>
body{background-color: #fff}
@-webkit-keyframes load {
0% {
stroke-dashoffset: 0;
}
}
@keyframes load {
0% {
stroke-dashoffset: 0;
}
}
.progress {
position: relative;
display: inline-block;
padding: 0;
text-align: center;
}
.progress > li {
display: inline-block;
position: relative;
text-align: center;
color: #93A2AC;
font-family: Lato;
font-weight: 100;
margin: 2rem;
}
.progress > li:before {
content: attr(data-name);
position: absolute;
width: 100%;
bottom: -2rem;
font-weight: 400;
}
.progress > li:after {
content: attr(data-percent);
position: absolute;
width: 100%;
top: 3.7rem;
left: 0;
font-size: 2rem;
text-align: center;
}
.progress svg {
width: 10rem;
height: 10rem;
}
.progress svg:nth-child(2) {
position: absolute;
left: 0;
top: 0;
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
}
.progress svg:nth-child(2) path {
fill: none;
stroke-width: 25;
stroke-dasharray: 629;
stroke: #fff;
opacity: .9;
-webkit-animation: load 10s;
animation: load 10s;
}
</style>
body{background-color: #fff}
@-webkit-keyframes load {
0% {
stroke-dashoffset: 0;
}
}
@keyframes load {
0% {
stroke-dashoffset: 0;
}
}
.progress {
position: relative;
display: inline-block;
padding: 0;
text-align: center;
}
.progress > li {
display: inline-block;
position: relative;
text-align: center;
color: #93A2AC;
font-family: Lato;
font-weight: 100;
margin: 2rem;
}
.progress > li:before {
content: attr(data-name);
position: absolute;
width: 100%;
bottom: -2rem;
font-weight: 400;
}
.progress > li:after {
content: attr(data-percent);
position: absolute;
width: 100%;
top: 3.7rem;
left: 0;
font-size: 2rem;
text-align: center;
}
.progress svg {
width: 10rem;
height: 10rem;
}
.progress svg:nth-child(2) {
position: absolute;
left: 0;
top: 0;
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
}
.progress svg:nth-child(2) path {
fill: none;
stroke-width: 25;
stroke-dasharray: 629;
stroke: #fff;
opacity: .9;
-webkit-animation: load 10s;
animation: load 10s;
}
</style>
本站所有资源都是由网友投搞发布,或转载各大下载站,请自行检测软件的完整性!本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!如有侵权请联系我们删除下架,联系方式:admin@php.cn


