
更多>
最新下载
24小时阅读排行榜
- 1 安卓追书神器免费下载_官方网页版小说阅读链接
- 2 Linux命令行中ifconfig与ip命令的区别
- 3 如何自己缴纳社保?
- 4 Java中字符串常量池的核心作用
- 5 AdobeFirefly模型怎么创建民间故事艺术_AdobeFirefly模型创建民间故事艺术全面指导
- 6 Java中注解的核心概念和使用价值
- 7 PHP代码怎么连接数据库_ PHP数据库连接配置与查询执行步骤
- 8 HTML与D3.js数据可视化前端库结合_HTML与D3.js数据可视化前端库结合详解
- 9 Snakemake在Slurm环境下实时输出与规则优化:深度教程
- 10 Java 项目 Makefile 指南:编译、执行与命令行参数处理
- 11 安装Java时如何避免与已有软件冲突
- 12 Java 项目 Makefile 实践:编译、运行与命令行参数处理
- 13 php怎么输出helloworld_php输出helloworld的基础语法详解
- 14 SQL 分组查询多条件筛选怎么写?
- 15 PHP如何处理错误和异常_PHP错误与异常处理机制详解
更多>
最新教程
-
- Node.js 教程
- 2795 2025-08-28
-
- CSS3 教程
- 290113 2025-08-27
-
- Rust 教程
- 3417 2025-08-27
-
- Vue 教程
- 4142 2025-08-22
-
- PostgreSQL 教程
- 4275 2025-08-21
-
- Git 教程
- 3268 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