Search code examples
javascriptcssuser-interfaceuser-experience

Images move according to mouse cursor


Does this type of design have a name?

https://playoverwatch.com

On the header, if you move your mouse cursor, the images move different distances to create depth

Also, is there an easy way like a prewritten script to achieve something like this?


Solution

  • Look for Parallax.

    The effect shown on the github page is on scroll... But can be linked to mouse move too.