JSFiddle - React, Tailwind, and code Playground

by Corey Frang

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/ui-lightness/jquery-ui.css">
<div>Hover me <a href="#">animates me</a></div>

JavaScript

$("div").hover(function() {
    $(this).find("a")
        .stop().animate({'backgroundColor' : '#DCDDDF'}, 100);
}, function() {
    $(this).find("a")
        .stop().animate({'backgroundColor' : '#F2F2F3'}, 250);
})