JSFiddle - React, Tailwind, and code Playground

HTML

<div>&nbsp;</div>

CSS

div {
    width: 400px;
    height: 100px;
    background: url('http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif') no-repeat 0 0;}

JavaScript

$('div').animate({'background-position':'50px 0'},1000);