How to override HTML element inline styles with external CSS

1 Answer

0 votes
.setcolor {
    color: green !important; 
}
<div class="setcolor" style="color:yellow;">
   <h1>text text text</h1>
</div>

 



answered May 22, 2021 by avibootz

Related questions

1 answer 302 views
1 answer 334 views
1 answer 277 views
1 answer 326 views
1 answer 327 views
...