I have a div that is defined as follows:
<div style="background-color: rgb(217, 240, 211) ! important; color: rgb(0, 102, 2) ! important;" class="div_box">... ... </div>
since the div is currently using the inline style (which I hate!) I need to override the background color as well as the color.
I tried:
.div_box[style] { background-color: rgb(216, 219, 215) ! important; color: rgb(94, 94, 94) ! important; }
but does not work. Also tried .div_box {...} and still does not work.
So my question is: how do I redefine the above div style without manually changing the inline style?
source share