JSFiddle - React, Tailwind, and code Playground
by satantx
HTML
<div class="wrapper background-wave"></div>
CSS
html,
body,
.wrapper {
height: 100%;
}
.wrapper {
background: url(http://www.satantx.com/image/2015-03-30_162144.jpg);
}
body {
}
JavaScript
$('body').mousemove(function(a){
$('.wrapper').css({
backgroundPosition: -a.pageX/20+"px "+ -a.pageY/20+"px"
})
});