我正在尝试覆盖CSS但不能正常工作,怎么办?
.component.img.white *:not(.btn){
color:#fff;
}
Run Code Online (Sandbox Code Playgroud)
试图做到这一点:
.component.img.white *:not(.btn){
color:none !important;
}
Run Code Online (Sandbox Code Playgroud)
无不是有效的css 颜色
.component.img.white *:not(.btn){
color: transparent !important;
}
Run Code Online (Sandbox Code Playgroud)
或者你可以使用
.component.img.white *:not(.btn){
color: unset !important;
}
Run Code Online (Sandbox Code Playgroud)