更多>
最新下载
css3实现超好看的搜索框和按钮
css3实现超好看的搜索框和按钮是一款非常实用的css3特效,实现了超好看的搜索框和按钮样式,主要还是用了普通的样式代码,添加了部分css3元素代码。
0
2026-01-26
24小时阅读排行榜
- 1 dataclass 如何让 kw_only=True 但部分字段仍可位置传参
- 2 html5可视化编辑能同步云端吗_html5可视化云端同步法【方案】
- 3 如何在Golang中实现RPC重试机制_Golang RPC请求重试技巧
- 4 Go语言如何实现简单支付回调_Golang回调处理项目实战
- 5 Django 动态书籍详情页:基于类视图的可扩展实现方案
- 6 如何检测当前 Python 是否运行在 GraalPy 或 PyPy
- 7 Linux 带宽跑满的分析思路
- 8 SQL 分库分表下分页如何实现?
- 9 Go错误链如何实现_Go错误追踪与上下文传递方法
- 10 如何让异步函数在同步代码中安全调用(anyio.to_thread)
- 11 Python 项目目录结构最佳实践
- 12 Python 属性访问背后的 __getattribute__
- 13 html5play函数播不了aac咋办_html5play函数aac解决法【技巧】
- 14 html5日期格式如何只显示年月_html5年月格式写法与用法【语法】
- 15 html5可视化编辑支持实时预览吗_html5可视化实时预览开启法【步骤】
更多>
最新教程
-
- Node.js 教程
- 16147 2025-08-28
-
- CSS3 教程
- 1546621 2025-08-27
-
- Rust 教程
- 23279 2025-08-27
-
- Vue 教程
- 25743 2025-08-22
-
- PostgreSQL 教程
- 22231 2025-08-21
-
- Git 教程
- 9208 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
