<hr class="my-3"/> <p id="text" class="p-[50px]"> 這是一段文字,這是一個 GSAP 跑馬燈範例 </p> <hr class="my-3"/>
gsap.to('#text', { x: -1000, duration: 10, })
This Pen is owned by Ray on CodePen.
See more by @hsiangfeng on CodePen
This Pen doesn't use any external CSS resources.