el-cascader下拉框背景色深色
时间: 2023-11-07 18:14:20 浏览: 78
颜色下拉框
要修改el-cascader下拉框的背景色为深色,你可以使用以下CSS样式代码:
```
.el-cascader-menu {
background-color: #002a4b !important;
}
```
这样就可以将el-cascader下拉框的背景色修改为深色。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Element组件Cascader、DatePicker、Select修改局部样式,不影响全局的方式](https://blog.csdn.net/weixin_44487537/article/details/119387367)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [修改elementUI el-select 修改样式 背景色 下拉框等](https://blog.csdn.net/c_qianxia5040/article/details/120868122)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文