JSFiddle - React, Tailwind, and code Playground HTML <div id="div1">foo</div> <div id="div2">bar</div> JavaScript $('#div1,#div2').fadeOut();