I am building a web widget using javascript only and not using iframe. I want my web widget not to use page's css. I cant use custom css and also don't want to use iframe as it will not be user friendly.
How can i restrict my web widget not to use page's css. As my web widget will return html code and that html uses that page css.
There is a thing like CSS reset: https://meyerweb.com/eric/tools/css/reset/
It basically resets all css properties for a given subtree.