怎样覆盖!important?
第一种:
table td { height: 50px !important; } // 优先级第三 .myTable td { height: 50px !important; } // 优先级第二 #myTable td { height: 50px !important; } // 优先级第一
第二种:
使用相同的选择器,但是置于已有的样式之后:
td { height: 50px !important; }
原文:https://www.cnblogs.com/xjy20170907/p/11574334.html