更多>
最新下载
jQuery焦点图插件Fotorama
jQuery焦点图插件Fotorama是一款响应式jQuery焦点图轮播幻灯片切换插件Fotorama,支持缩略图播放、全屏查看、支持视频、图片、HTML内容、支持图片延迟加载、支持缩略图显示位置定义、支持自动播放以及循环播放、支持左右方向按键播放。
0
2026-01-27
24小时阅读排行榜
- 1 php代码示例怎么生成随机密码_php生成随机密码代码示例【示例】
- 2 Yii2 中高效合并获奖者、用户与商品数据并输出 JSON 结构
- 3 XML加密是什么 如何对XML文件中的敏感部分加密
- 4 如何自定义 MySQL 唯一键冲突的友好错误提示(PDO 实战教程)
- 5 c++如何清空cin缓冲区_c++ cin.ignore用法详解【指南】
- 6 C++析构函数什么时候调用 C++对象生命周期管理详解【机制】
- 7 如何在 Go 中正确使用 math/rand 生成随机数(如模拟抛硬币)
- 8 MAUI怎么实现图片加载 MAUI Image控件使用方法
- 9 C# 匿名类型使用方法 C#如何创建和使用匿名类型
- 10 css 想实现图片水印固定在角落怎么办_position absolute bottom right
- 11 用 context + channel 实现超时控制的 goroutine
- 12 为什么上传的XML文件在后端接收到的是空内容
- 13 C# 依赖注入方法 C#在ASP.NET Core中如何实现依赖注入
- 14 Golang I/O性能瓶颈如何优化_Golang文件与网络I/O优化技巧
- 15 如何在项目中直接导入 Cesium 源码进行调试与开发
更多>
最新教程
-
- Node.js 教程
- 16182 2025-08-28
-
- CSS3 教程
- 1546704 2025-08-27
-
- Rust 教程
- 23316 2025-08-27
-
- Vue 教程
- 25780 2025-08-22
-
- PostgreSQL 教程
- 22261 2025-08-21
-
- Git 教程
- 9240 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
