iOS, macOS, firefox css tweaks; config and readme updates;

This commit is contained in:
Spencer Flagg
2022-10-24 14:17:02 +02:00
parent 9ca6779388
commit 5c12e2aaea
24 changed files with 227 additions and 121 deletions

View File

@@ -57,3 +57,24 @@ window.onresize = function () {
// });
// });
// }, 2000);
//////////////////////////////////////////
// SHADOW PARALLAX
gsap.utils.toArray('.img-shadow').forEach((elem) => {
gsap.fromTo(
elem,
{
y: "5rem",
},
{
scrollTrigger: {
scrub: true,
trigger: elem,
start: '-4rem bottom',
},
y: 0,
}
);
});