Unfortunately no, it is not possible to simply clear or reset the styles for a particular container from css that it inherited. You must redefine each style you want manually.
What you can do is that you can use the namespace for your classes, and all you need to worry about is the styles of the elements that you could define by default at the beginning of your stylesheet. For example, something like:
div,table,span,img,p{ margin: 0; padding: 0; border: 0; font-weight: normal; font-style: normal; font-size: 100%; line-height: 1; font-family: inherit; text-align: left; }
You can of course add! important for the ones you need and add more items to the list. If you canโt trust or donโt know the other styles that will be loaded and applied to your page, I think itโs best to start with an empty slate.
source share