Jump to content
Search Community

Radizzt

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Radizzt

  1. I was trying to follow the video tutorial on this site: https://greensock.com/get-started-js

    I was stuck on the very first example he gave:

    `TweenMax.to(".logo", 2, {left:600});`

     

    I check the console and there was no error, so I was confuse.
    I thought i did something wrong on my side, but had no idea what.

     

    after some trial and error the 'x' property seem to work fine.

     

    Turns out for some reason the left property doesnt work with images.

    I tried doing it with a div box and the left property works as intended.

     

    Can someone explain why this is happening?

     

    Thanks

     

    See the Pen aXVBMa by Radizzt (@Radizzt) on CodePen

×
×
  • Create New...