更多>
最新下载
jQuery点击图像居中放大插件Zoom
jQuery点击图像居中放大插件Zoom是一款放大的时候会从原图像的位置以动画方式放大到画面中间,支持点击图像或者按ESC键来关闭效果。本作品由【站长素材】收集整理,转载请注明出处!
0
2026-03-01
jQuery旋转预览画廊效果
一款jQuery实现的旋转预览画廊效果。当鼠标悬停图片上时,用旋转放大的效果预览图片。适用浏览器:IE8+、FireFox、Chrome、Safari、Opera。
0
2026-02-28
24小时阅读排行榜
- 1 CSS Flexbox 中图片无法超分辨率缩放的解决方案
- 2 Golang中的栈扩容机制与指针更新 Go语言连续栈(Contiguous Stack)
- 3 mysql如何搭建后台管理系统_mysql项目实战教程
- 4 如何在Golang中优化大规模文本检索 Go语言Aho-Corasick算法实现
- 5 SQL CHECK 约束的自定义函数校验与性能开销评估
- 6 如何在Golang中优化内存分配 Go语言逃逸分析与堆内存管理技巧
- 7 PHP 中检查商品库存状态的正确函数设计与实现
- 8 Golang ioutil包(旧)与os包新版读取函数对比
- 9 C++怎么写switch语句 C++多分支选择结构用法【基础】
- 10 CSS如何处理浮动项在不同DPI屏幕下的边框对齐_利用transform进行css微调
- 11 PHP 中查找用户自定义重复日列表中下一个有效星期几的完整实现
- 12 使用 useSWRImmutable 实现条件数据获取的正确姿势
- 13 Golang状态模式在TCP连接三次握手状态机中的模拟
- 14 实现视口边缘循环移动的 JavaScript 动画逻辑教程
- 15 css如何用定位实现水平垂直居中_通过transform和position配合
更多>
最新教程
-
- Node.js 教程
- 17952 2025-08-28
-
- CSS3 教程
- 1551985 2025-08-27
-
- Rust 教程
- 25022 2025-08-27
-
- Vue 教程
- 26913 2025-08-22
-
- PostgreSQL 教程
- 23322 2025-08-21
-
- Git 教程
- 10187 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
