JSFiddle - React, Tailwind, and code Playground
by Anna
HTML
<p>Hover the mouse pointer over this paragraph, and it will fade.</p>
JavaScript
$(document).ready(function(){
$("p").mouseover(function(){
$(this).fadeTo('slow',.5);
});
$("p").mouseleave(function(){
$(this).fadeTo('fast',1);
});
});