Kyle Broflovski Posted August 6, 2024 Posted August 6, 2024 I just tried to create a box and animated it after. I'm following this tutorial: https://gsap.com/docs/v3/GSAP/ My background successfully changed so I think my GSAP has already been imported correctly. But my box doesn't show up. I'm new to Javascript. Any help will be appreciated. See the Pen poXwRod by broflovskyle (@broflovskyle) on CodePen.
mvaneijgen Posted August 6, 2024 Posted August 6, 2024 Hi @Kyle Broflovski welcome to the forum! Might you also be new to HTML and CSS? I highly recommend first getting the basics down before you start animating them. Your issue here is that you have a div called .box, but this .box has absolutely no styling, so you don't see it! If you give it some styling via CSS you see it will become visible. Hope it helps and happy tweening! See the Pen yLdXMwY by mvaneijgen (@mvaneijgen) on CodePen. 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now