Saevae Bruta
Saevae Bruta

Reputation: 35

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?

Upvotes: 0

Views: 87

Answers (1)

Louys Patrice Bessette
Louys Patrice Bessette

Reputation: 33933

Look for Parallax.

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

Upvotes: 1

Related Questions