!important强制提升优先级
用于提升某个直接选中标签的选择器中的某个属性的优先级,可以将某个被指定的属性的优先级
#box2 {
background-color: #cccccc !important;
background-color: #000000;
}
!important强制提升优先级
用于提升某个直接选中标签的选择器中的某个属性的优先级,可以将某个被指定的属性的优先级
#box2 {
background-color: #cccccc !important;
background-color: #000000;
}