JSFiddle - React, Tailwind, and code Playground
by csaltyj
HTML
<div id="content-box">
</div>
<div id="control-box">
<button id="press-me">Click Here</button>
</div>
CSS
.newobj-hilite {
background: #ff0;
}
JavaScript
$('#press-me').click(function() {
$('<p>New content.</p>').appendTo('#content-box').addClass('newobj-hilite').animate({background: 'transparent'}, 500);
});