Is there a way to have an element on my webpage with a background image that follows the movement of the mouse when hovered over? I want it to be similar to this website:
This is the HTML code I currently have:
<section id="home" data-speed="3" data-type="background"></section>
While the 'data-speed' attribute controls the scrolling speed of the background image, I'm looking for a way to make the background image move based on mouse movements instead. Is there a code similar to 'data-speed' that achieves this effect?