elementUI环形进度条设置渐变色和修改底色
element
A Vue.js 2.0 UI Toolkit for Web
项目地址:https://gitcode.com/gh_mirrors/eleme/element
免费下载资源
·
.progressBox
el-progress(class="progress-two circle2" type="circle" :show-text="false" :percentage="60" :stroke-width="10" color="#02A0DF" :width="100")
div(class="svg-box")
svg(width="100%" height="100%")
defs
linearGradient(id="write" x1="0%" y1="0%" x2="0%" y2="100%")
stop(offset="0%" style="stop-color:#64EB64" stop-opacity="1")
stop(offset="100%" style="stop-color:#DFEE50" stop-opacity="1")
css
.circle2 /deep/ svg>path:nth-child(2) {
stroke: url(#write);
}
/deep/ .el-progress-circle__track {
stroke: #3f3e3ebb; //elementUi修改环形进度条底色
}
GitHub 加速计划 / eleme / element
54.06 K
14.63 K
下载
A Vue.js 2.0 UI Toolkit for Web
最近提交(Master分支:3 个月前 )
c345bb45
7 个月前
a07f3a59
* Update transition.md
* Update table.md
* Update transition.md
* Update table.md
* Update transition.md
* Update table.md
* Update table.md
* Update transition.md
* Update popover.md 7 个月前
更多推荐
已为社区贡献3条内容
所有评论(0)