element-UI 自定义 button按钮颜色
element
A Vue.js 2.0 UI Toolkit for Web
项目地址:https://gitcode.com/gh_mirrors/eleme/element
免费下载资源
·
//显示时按钮样式
.el-button--primary { //需要更改的按钮类型 type='primary'
background: #3599F5 !important;
border-color: #3599F5 !important;
}
//移入时按钮样式 type='primary'
.el-button--primary:hover {
background: #3599F5 !important;
border-color: #3599F5 !important;
color: #FFF !important;
opacity: 0.8;
}
.el-button--default { //需要更改的按钮类型 type='default'
background: #fff !important;
border-color: #3599F5 !important;
color: #3599F5 !important;
}
//移入时按钮样式type='default'
.el-button--default:hover {
background: #fff !important;
border-color: #45a3fc !important;
color: #3599F5 !important;
opacity: 0.8;
}```
GitHub 加速计划 / eleme / element
54.06 K
14.63 K
下载
A Vue.js 2.0 UI Toolkit for Web
最近提交(Master分支:2 个月前 )
c345bb45
6 个月前
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 6 个月前
更多推荐
已为社区贡献1条内容
所有评论(0)