I have a div which defined as follow:
<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 this!) I need to override the background color as well as the color.
I have tried:
.div_box[style] {
background-color: rgb(216, 219, 215) ! important;
color: rgb(94, 94, 94) ! important;
}
but doesn't work. Also tried .div_box { ... } and still not working.
So my question is, how am I override the above div style without manually changing the inline style?