I have a chrome extention that inserts HTML code into a webpage, but its design gets affected by the host webpage's css.
js
var button = document.createElement("button ");
button.id = "btn_btn_btn";
button.innerText = "pres button";
document.getElementsByTagName("html")[0].prepend(button);
css
#btn_btn_btn{
background-color: rgb(229, 97, 97) !important;
border: none !important;
height: 100px !important;
color: white !important;
font-size: 15px !important;
text-align: center !important;
}
is there a way of having it only be affected by my css file without adding important to every attribute an element can have.