mirror of
https://github.com/Start9Labs/start9.com.git
synced 2026-04-01 21:13:11 +00:00
iOS, macOS, firefox css tweaks; config and readme updates;
This commit is contained in:
@@ -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,
|
||||
}
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user