Web Widget using html, js and bootstrap

128 views Asked by At

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.

1

There are 1 answers

4
Eriks Klotins On

There is a thing like CSS reset: https://meyerweb.com/eric/tools/css/reset/

It basically resets all css properties for a given subtree.