If there is a CSS rule that uses !important
, is there a way to remove the !important
rule so that I can make further downstream style changes with JS or jQuery?
theirs.css
div.stubborn { display: none !important; }
mine.js
$('.stubborn').fadeIn(); // won't work because of !important flag
Unfortunately, I do not have control over the style applying the !important
rule so I need a work-around.