Updated email
This commit is contained in:
parent
63365b0f86
commit
ffac62132f
Binary file not shown.
|
@ -125,8 +125,8 @@ let setImages = () => {
|
|||
const root = document.documentElement;
|
||||
|
||||
const onMove = (ev: MouseEvent) => {
|
||||
let rotateY = `${(ev.clientX - window.innerWidth / 2) * 0.001}deg`;
|
||||
let rotateX = `${(ev.clientY - window.innerHeight / 2) * 0.001}deg`;
|
||||
let rotateY = `${(ev.clientX - window.innerWidth / 2) * 0.005}deg`;
|
||||
let rotateX = `${(ev.clientY - window.innerHeight / 2) * 0.005}deg`;
|
||||
root.style.setProperty("--rotate-x", rotateX);
|
||||
root.style.setProperty("--rotate-y", rotateY);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue