Jump to content
Search Community

Gad

Members
  • Posts

    7
  • Joined

  • Last visited

Gad's Achievements

  1. Gad

    Unset all animation

    how to set this : gsap.globalTimeline.clear() on specific screen size like resetting animation on mobile devices?
  2. ok issue fixed, i changed the animated div to be the p inside it and it seems now its animated without that page scroll effect behavior. thank u.
  3. hi , thank you for your reply https://codepen.io/Mohamed-Gad/pen/LYQRRzV and after i wrote this codepen , my issue not appear there as you can see but in addition i recorded my problem please check it below: the code used for this one : const productAnimation = gsap.timeline() productAnimation.from('.breadcrumb', { duration: 1, y: 50, opacity: 0 })
  4. full timeline const productAnimation = gsap.timeline() productAnimation.from('.breadcrumb', { duration: 1, y: 20, opacity: 0 }) .from('.owl-carousel', { duration: 1, y: 20, opacity: 0 },.5) .from('.carousal-navigator a', { duration: 1, y: 20, opacity: 0, stagger: .1 },1) .from('.product-name', { duration: 1, y: 20, opacity: 0 },1) .from('.product-color', { duration: 1, y: 20, opacity: 0 },1.2) .from('.price', { duration: 1, y: 20, opacity: 0 },1.4) .from('.purchase', { duration: 1, y: 20, opacity: 0 },1.6) .from('.options', { duration: 1, y: 20, opacity: 0 },1.8) .from('.product-description p', { duration: 1, y: 20, opacity: 0, stagger: .1 },2)
  5. Hi, its probably small issue, but whenever I use this tween: gsap.from('.breadcrumb', { duration: 1, y: 20, opacity: 0 }) it seems always the y make my page scroll down a bit while this effect happen. the animation it self working but the issue is with page scroll. how could I prevent this scroll behavior to the web page. thanks.
  6. I'm appreciate a lot your help and the way you explanation i will check the provided recourses and read more about GSAP and other provided links thank alot ❤️
  7. Hello, im new to the cool library i want to animate the <h1> on both carousal slides to be slide from bottom to up i manage to make it but i want to animation to be repeated each time someone switch between slides it looks like the animation start only one time on both slides and never repeated . how can i manage that is there a attribute or something i need to add. sorry I'm not professional. sorry about my poor code skills i appreciated your help thanks a lot
×
×
  • Create New...