el-date-picker背景颜色
时间: 2023-08-20 20:06:54 浏览: 118
你可以通过在全局样式文件home.scss中定义el-date-picker的背景颜色来改变它的样式。在全局样式中,你可以使用以下代码来设置el-date-picker的背景颜色:
```scss
.el-date-picker {
background-color: #ffffff; // 设置背景颜色为白色
}
```
记为5。在home.scss文件中,找到.el-date-picker选择器,并添加上述代码即可改变el-date-picker的背景颜色为白色。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [element日期选择器el-date-picker样式](https://blog.csdn.net/qq_43840793/article/details/125276468)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [vue修改element-ui日期下拉框datetimePicker的背景色样式](https://blog.csdn.net/qq_35573625/article/details/129020705)[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^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文