There is a task to make an interactive background for the site so that it slightly moves from the mouse movement. Something like this . I know that there is a theme with this site, from there I took the JS code.
Initially, I did this:
$(".bg").interactive_bg(); html, body { height: 100%; margin: 0; padding: 0; overflow: hidden; } body { overflow: auto; } .bg { min-height: 100%; } <div class="bg" data-ibg-bg="img/mp.jpg"></div> Everything worked, but the problem was that everything I wrote on went beyond the background.
I decided to make the background straight in the body through CSS:
body { background: url(img/mp.jpg) no-repeat center center fixed; background-size: cover; } Now nothing works, I tried a bunch of options on how to apply to this background , but so far all has been unsuccessful. 
Can I even do as I want, if I can, how, and how to turn to background ?
interactive_bgfunction? Look, there still must be special styles for<div class="bg" data-ibg-bg="img/mp.jpg"></div>. They also need to apply. - Stepan Kasyanenkobackgroundit will most likely not work) On the site you specified,.bg2has special styles. Look at them. - Stepan Kasyanenko