You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an element and depending on some condition, may set it's background. If the condition is first true, and later false the element is left with some "residual" styles that were never set in code.
Output looks like:
<!-- condition true --><divstyle="background: #ff0000"></div><!-- then when condition is false --><divstyle="background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial;"></div>
These styles were never set by user code, and are interfering with styles in my CSS.