190
rated 0 times
[
194]
[
4]
/ answers: 1 / hits: 32021
/ 12 Years ago, thu, august 9, 2012, 12:00:00
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.
More From » jquery