Well, I've a Div like below in index.html
<div class="first">Hey This is it.</div>
first
class definition.
.first{
width: 55px;
height: 55px;
color: green;
}
I'm trying to inject a new Class named second
from external file style.css
(I can't edit this file) with it's definition like below.
.second{
color: blue;
}
After injecting, I can see the element like below in index.html
.
<div class="first second">Hey This is it.</div>
But Why div color is still with Green?? I want to get the div text color as Blue. How to acheive this?? Thanks.