设置disabled元素样式

/*禁用样式*/
button[disabled],input[disabled],select[disabled],select[disabled]+span .select2-selection__rendered{
cursor: not-allowed!important;
color:grey!important;
}

原文地址:https://www.cnblogs.com/yuner-angel/p/8831886.html