JSFiddle - React, Tailwind, and code Playground
by Addy Osmani
HTML
<div class="colors">
<div class="red"></div>
<div class="red"></div>
<div class="blue"></div>
<div class="blue"></div>
<div class="blue"></div>
</div>
CSS
.colors { width:500px; height:500px; background-color:orange}
.red { width:30px; height:30px; margin:10px; background-color:red;}
.blue { width:30px; height:30px; margin:10px; background-color:blue;}
JavaScript
//$('.colors').find('.red , .blue').hide(); //works
$('.colors').find('.red','.blue').hide();