我需要一个类似的代码:
<div style="templateCSS:none">Content that has mysterious WordPress template CSS applied on it</div>
我不想用另一种内联样式覆盖它,我只想删除所有内容。
答案 0 :(得分:0)
我想你可以为元素的每个属性使用CSS3关键字initial
。像这样:
<div class="reset-style">Content that has mysterious WordPress template CSS applied on it</div>
.reset-style{
margin : initial;
margin-bottom : initial;
margin-left : initial;
margin-right : initial;
margin-top : initial;
/* All the css properties*/
}