JSFiddle - React, Tailwind, and code Playground

HTML

<html>
    <body>
        <p id="myp" class='foo'>This is some text.</p>
    </body>
</html>

CSS

.foo {
    background:#111 url('http://www.w3schools.com/css/img_tree.png') 50% top repeat-x;
}

JavaScript

setTimeout(function(){$('#myp').removeClass('foo', 1500); }, 500);