Jump to content
Search Community

Gad

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Gad

  1. hi , thank you for your reply

     

    See the Pen LYQRRzV by Mohamed-Gad (@Mohamed-Gad) on CodePen

     

    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 })

     

  2. 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)
  3. 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.

  4. 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

    See the Pen GRyaZeR by mohamed-gad-the-bold (@mohamed-gad-the-bold) on CodePen

×
×
  • Create New...