e.g. I have div.style.zoom = 1.2,
Typically You cannot remove properties from built-in objects like that, and certainly not in IE (the zoom attribute of the style object is a IE extension)
You can set it to the default value:
el.style.zoom = "";
the effective zoom will now be whatever follows from the definitions set in the stylesheets (through link and style tags)
So this syntax will only modify the local style of this element.
removeProperty will remove a style from an element.
MDN documentation page:
You can use the styleSheets object:
Caveat #1: You have to know the index of your stylesheet and the index of your rule.
Caveat #2: This object is implemented inconsistently by the browsers; what works in one may not work in the others.
element.style.height = null;
<div style="height:100px;"> // results: <div style="">
You can try finding all elements that have this class and setting the “zoom” property to “nothing”.
Edit: Removed this statement as it turned out to not be true, as pointed out in a comment and other answers it has indeed been possible since 2010.