Skip to content

Commit 430dc3d

Browse files
fixed scene 1 position
1 parent a88421c commit 430dc3d

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

script.js

+1-13
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,7 @@ gsap.to("#birds1", {
271271
background: "linear-gradient(to bottom, #a8c0ff 0%, #FF5733 10%, #1b1c20 20%, #FFA500 30%, #a8c0ff 40%, #FF5733 50%, #1b1c20 60%, #FFA500 70%, #FF5733 80%, #1b1c20 90%, #FFA500 100%",
272272
*/
273273

274-
ScrollTrigger.create ({
275-
trigger:".scene1",
276-
start: "top",
277-
end: "bottom bottom",
278-
pin:".ground2"
279-
})
274+
280275

281276

282277
//scroll scene1
@@ -296,13 +291,6 @@ gsap.to(".ground2", {
296291

297292

298293

299-
300-
301-
302-
303-
304-
305-
306294
gsap.to(".text-container", {
307295
duration: 8,
308296
scrollTrigger: {

0 commit comments

Comments
 (0)