I insert the CSS in a position that would override all other CSS, but that only works when all other criteria controlling precedence are equal. Specifically, the browser prefers the style block with the most specific condition. Recently, element added a bunch of extra conditions to the style blocks that I override. So, in order for mine to be preferred, I had to add all of the same conditions to mine.