gsapsetcarpng left150pxlet tli = gsaptimelinedefaultseasenone tocarpng left250px duration1ScrollTriggercreate triggercarpng start0 end+=400 scrollerscrollContainer animationtli scrubtrue pintruethis i
pixels with a duration of 1 second and then have it pinned and scrubbed while scrolling between the trigger at 0% and end at +=400. Your code looks correct, but you may want to adjust the start and end values depending on your specific needs.
原文地址: https://www.cveoy.top/t/topic/clAm 著作权归作者所有。请勿转载和采集!