How to completely remove CSS style and not replace it?

I have a style defined as follows:

td,th{padding:0}

Now I want to completely remove this style dynamically and not override it with some value, because I need the value inline/defaultset by the browser. Anyone who has any ideas on how to do this, feel free to answer.

+4
source share
2 answers

In CSS 3 you can use

th,td { padding: unset; }

or

th,td { padding: initial; }

http://www.sitepoint.com/css3-inheritance-tips-tricks/

http://www.w3.org/TR/css-cascade-3/#inherit-initial

+3
source

Try to make an initial value, i.e. Set the value to fill: initial

+2
source

All Articles