val*_*nto 15 html css
有没有办法在不使用!important和不使用JavaScript的情况下覆盖内联CSS ?
!important
例如:
<div style="background-color: red;"></div>
我想知道如果没有它可以被覆盖:
div { background-color: blue !important; }
pil*_*eks 20
不,内联样式优先,您只能用它覆盖它!important.
归档时间:
12 年,4 月 前
查看次数:
9383 次
最近记录:
6 年,6 月 前