JSFiddle - React, Tailwind, and code Playground
by Hulothe
HTML
<div class="graybgc" >
<span>A: </span>
<ul>
<li>123</li>
<li>123</li>
</ul>
</div>
JavaScript
$('.graybgc').on('click', function() {
$(this).slideUp(0);
});