el-input背景设置为透明色 elementUi Plus
element
A Vue.js 2.0 UI Toolkit for Web
项目地址:https://gitcode.com/gh_mirrors/eleme/element

·
//背景色设置为透明
:deep(.el-input__wrapper){
background-color:rgba(0,0,0,0);
}
//输入框颜色
:deep(.el-input__inner) {
background-color: rgba(0, 0, 0, 0) !important;
color: #fff;
}
//历史记录后自动补充的颜色
:deep(input:-webkit-autofill) {
-webkit-text-fill-color: #fff;
transition: background-color 5000s ease-out 0.5s;
}
//提示框的字体颜色
:deep(input::-webkit-input-placeholder) {
color: #fff;
}
效果图如下:




A Vue.js 2.0 UI Toolkit for Web
最近提交(Master分支:18 天前 )
c345bb45
1 年前
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 1 年前
更多推荐
所有评论(0)