JSFiddle - React, Tailwind, and code Playground
by paislee
HTML
<div id="target element"></div>
CSS
div {
background: red;
width: 100px;
height: 100px;
}
JavaScript
/**
* Div should fade out if matched
* escape invalid ID characters with \\
*/
$(document).ready(function(){
$('#target\\ element').fadeOut('slow');
});