JSFiddle - React, Tailwind, and code Playground
by eTiger13
JavaScript
kwicks.bind("mouseleave", function(e) {
if ( e.clientX >= container.width()+container.offset().left || e.clientY >= container.height()+container.offset().top )
{ return; }
$(o.caption,this).stop().animate({opacity: 0}, o.duration);
$(o.miniCaption,this).stop().animate({opacity: o.capOpacity},o.duration);
});