更多>
最新下载
西山居首页jQuery焦点图代码
西山居首页jQuery焦点图代码是一款带文字描述,左右箭头,索引按钮,自动轮播切换的jQuery特效代码。本作品由【站长素材】收集整理,转载请注明出处!
0
2026-01-25
24小时阅读排行榜
- 1 Python typing 如何标注一个函数返回的是“任意 callable”
- 2 html个人页面技能展示怎么弄_html技能图表编码法【效果】
- 3 html5播放rtsp能截图吗_html5rtsp截图保存法【功能】
- 4 html5如何实现图片放大镜_html5放大镜效果教程【步骤】
- 5 FIMO输出HTML会带图层信息吗_FIMO输出HTML含图层数据情况【解析】
- 6 html5play函数播放无声咋解决_html5play函数开声音方法【技巧】
- 7 Python 怎么判断一个字符串是否真的是空字符串(而不是空白)
- 8 html5日期格式如何用react控制_html5日期react组件用法【技巧】
- 9 html5可视化编辑怎么加验证码_html5可视化验证码添加教程【步骤】
- 10 Go 中切片重切与垃圾回收:为何需要手动清零已移除元素
- 11 在多进程中不使用 Manager 的 dict 是否真的共享内存
- 12 asyncio.TaskGroup 如何处理其中一个任务抛异常时的整体取消
- 13 html5嵌入音频格式不支持_html5嵌入音频转码兼容【方案】
- 14 html5play函数报错怎么捕获_html5play函数异常捕获法【技巧】
- 15 html5播放rtsp需要websocket吗_html5websocket辅助播rtsp【原理】
更多>
最新教程
-
- Node.js 教程
- 16088 2025-08-28
-
- CSS3 教程
- 1546472 2025-08-27
-
- Rust 教程
- 23232 2025-08-27
-
- Vue 教程
- 25697 2025-08-22
-
- PostgreSQL 教程
- 22187 2025-08-21
-
- Git 教程
- 9172 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
