css3 - How do I override * asterisk for css? -


i using jquery plugin has in it's style.css:

    * { padding: 0px; margin: 0px; -webkit-box-sizing: border-box;     -moz-box-sizing: border-box;     box-sizing: border-box; } 

however, other elements in css it's causing issues. elements there issues how can stop * applying css classes?

you can delete block.

* = wildcard meaning div's apply style all

you should using reset style in css insure browser compatibility margin:0; & padding:0; trimming additional padding &/or margin browser or users' preferences adding.

if not want delete. wrap plugin in <div class="jquerypluginwrapper"></div> in css:

.jquerypluginwrapper{ margin:0; padding:0; } etc.

this means not conflict else unless add class div.


Comments