更多>
最新下载
jQuery类似播放器图片切换特效
jQuery类似播放器图片切换特效是一款基于jQuery+HTML5实现的多元素图片动态播放特效。本作品由【站长素材】收集整理,转载请注明出处!
0
2026-01-29
24小时阅读排行榜
- 1 php数据库怎么进localhost的mysql_php连本机mysql步骤【步骤】
- 2 Golang如何使用encoding/csv处理CSV文件_Golang CSV文件读写操作
- 3 如何在Golang中包装错误信息_Golang errors包与错误包装方法
- 4 Docker 命令行中如何正确传递多个 --dns 等列表型参数
- 5 如何在 PHP 中安全输出 XML 内容前添加纯文本提示
- 6 css 想让元素在拖动结束后回弹动画怎么办_使用 transform translate keyframes 设置回弹效果
- 7 html5日期格式周数怎么表示_html5日期周数格式写法【说明】
- 8 css grid项目间垂直对齐不正确怎么办_使用align-items和align-self调整
- 9 XML序列化是什么 如何将对象转换为XML字符串
- 10 Linux 进程调度器的工作原理解析
- 11 php代码示例如何操作session_php session操作代码示例【示例】
- 12 css flexbox 如何实现导航栏常见结构_通过左右分布与居中说明
- 13 Go语言如何使用godoc生成文档_Golang包文档生成方式
- 14 css 初级项目中图标和文字大小不协调怎么办_通过对齐和字号比例调整
- 15 Istio解决了哪些问题_Istio服务治理基础解析
更多>
最新教程
-
- Node.js 教程
- 16338 2025-08-28
-
- CSS3 教程
- 1547048 2025-08-27
-
- Rust 教程
- 23454 2025-08-27
-
- Vue 教程
- 25886 2025-08-22
-
- PostgreSQL 教程
- 22382 2025-08-21
-
- Git 教程
- 9330 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
