JSFiddle - React, Tailwind, and code Playground

by DonamiteIsTNT

HTML

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Animation test</title>
<style>

</style>
<script type="text/javascript">
$(document).ready(function() {
    $("#b").animate({left: "+=500"}, 2000);
    $("#b").animate({left: "-=300"}, 1000);
});

</script>
</head>

<body>
<div style="position:relative">
    <div id="b" style="position:absolute;">B</div>
</div>
</body>
</html>