JSFiddle - React, Tailwind, and code Playground

HTML

<body>
    <button id="button">Click Me</button>
</body>

CSS

html {
    display: block;
    position: absolute;
    background: url(http://www.austintexas.gov/sites/default/files/files/Animal_Services/cute-kitten-playing.jpg) repeat;
    /* I want *only* this background image to move on the button click */
    color: #FFF;
    margin: 0px;
    padding: 0px;
    border: none;
}

JavaScript

$("#button").click(function () {
    // Animate the webpage's background, causing it to move
    $("html /* Not sure what goes here */").animate({
        left: "-=10000px",
        top: "-=5000px"
    }, 1250);
});