Jump to content
Search Community

SamuriCity

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by SamuriCity

  1.  

    image.thumb.png.56cae17b4b0a95bbd3924832690ae262.png

     

    I can get the logo up, I am new to html so I don't know if I needed the "broiler plate" I didn't see one on the example code , and it worked...so I just copied what I seen in the HTML section. I really don't care what the animation does, I just want to see if I installed GSAP correctly. Also I didn't see in Code Pen a "CDN" is that something that CODE PEN doesn't need?

     

    CSS File

     

    /* Global styles come from external css 
    
    
    
    

    See the Pen JGaKdQ* by GreenSock (@GreenSock) on CodePen

    bodymargin10px#logowidth180px
    gsap.from("#logo", {duration: 3, x: 300, opacity: 0, scale: 0.5});

     

     

    So I just copied all the code and confirm, it does not do the same animation that is found on GSAP with the exact same code. Just want to know what I'm missing , can you not bring code directly from codepen into visual studio code?

     

    Thank you .

    
    
  2. On 4/27/2019 at 7:30 AM, Rodrigo said:

    I have also trying to learn GSAP. I have copy and pasted example code from a lot of different blog/sites.

    is there a very simple example that we can copy and paste to see confirm everything is installed correctly? I have tried to you NPM, CDN ...and even copy and pasted code that I see works on examples, but I can't recreate. I don't want to give up on GSAP, so any simple info would be nice.

     

×
×
  • Create New...