JSFiddle - React, Tailwind, and code Playground
by TheBuzzer
HTML
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<button type="button" id="TestAppear">Afficher carré</button>
<div id="test"></div>
CSS
#test {
display:block;
width: 100px;
height: 100px;
opacity: 0;
background-color: black;
}
JavaScript
$('#TestAppear').click(function () {
$('#test').fadeTo();
});