JSFiddle - React, Tailwind, and code Playground

by Cone

HTML

<div class="inme deg30 colored">
    <p> here come </p>
    <b> Be here</b>
</div>

<div class="chg">CHNAG</div>
<p class="chg">CHNAG</p>
<div class="chg">CHNAG</div>
<span class="chg">CHANG</span>

CSS

* {padding:0;margin:0;}

JavaScript

$('.chg').filter('div, span').css({ color : 'blue' });