在浏览器调试的时候,在有的元素会遇到element style,而我们又恰好要改写相关样式的时候
就要用到!important属性
今天在尝试使用bootstrap-table组件时,最后一列下面会多出padding-bottom属性在element style里面
要消掉这段距离,只能是在样式中加上padding-bottom:0px !important;
在浏览器调试的时候,在有的元素会遇到element style,而我们又恰好要改写相关样式的时候
就要用到!important属性
今天在尝试使用bootstrap-table组件时,最后一列下面会多出padding-bottom属性在element style里面
要消掉这段距离,只能是在样式中加上padding-bottom:0px !important;
转载于:https://my.oschina.net/NathanChen/blog/845103