JSFiddle - React, Tailwind, and code Playground
by tsdexter
HTML
<body>
<div class="container">
</div>
</body>
CSS
html{
background-image: url('
}
JavaScript
jQuery(window).scroll(function(){
var s = jQuery(window).scrollTop();
jQuery('html').css({
'background-position':'50% -' + (s/5) + 'px'
});
});