JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>Coverflow13</title>
    <style type="text/css" media="screen">
    </style>
</head>
<body>
    <input type="button" value="Button!" id="button" />
    <div id="box"></div>
</body>
</html>

CSS

#box {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 20px;
    height: 20px;
    background: pink;

JavaScript

$(function() {
    $('#button').on('click', function() {
        var top = Infinity;
        $('#box').animate({
            top: top
        }, 200);
    }); 
});