The Killer GSAP ScrollTrigger Animation That Will Wow Any User

Sdílet
Vložit
  • čas přidán 13. 09. 2024

Komentáře • 39

  • @NoobOp-p9g
    @NoobOp-p9g Před 5 měsíci +3

    When ever you add your voiceover on your videos its really getting easy to understand your code 🔥🔥 keep itup bro 👐👐

  • @Way_Of_The_Light
    @Way_Of_The_Light Před 5 měsíci +3

    Amazing tutorial ideas 🙌🔥🔥

  • @CoseCinesi
    @CoseCinesi Před 5 měsíci +3

    Hi! aesthetically correct, but you should maintain a semantic consistency of content by placing the title and image in the same container.

  • @javieralbertoarias3159
    @javieralbertoarias3159 Před 5 měsíci +1

    Amazing Bro. Thanks 🔥

  • @andrejkling3886
    @andrejkling3886 Před 5 měsíci +1

    Excellent 🔥💯🔥

  • @tunasteven
    @tunasteven Před 3 měsíci +1

    startClipPath didn't use ???

  • @irfansaeedkhan7242
    @irfansaeedkhan7242 Před 5 měsíci

    so niceee

  • @ate_lugas
    @ate_lugas Před 5 měsíci

    Super easy to follow along, I have one question tho and that is how you get that smooth scroll effect? When I scroll it stops instantly when I stop scrolling with my mouse wheel

    • @codegrid
      @codegrid  Před 5 měsíci

      Try adding locomotive scroll

  • @johnpaulpineda2476
    @johnpaulpineda2476 Před 5 měsíci +1

    Please do more of nextjs + tailwindcss!

  • @Travelopediaa
    @Travelopediaa Před 5 měsíci

    goated content man!🔥

    • @codegrid
      @codegrid  Před 5 měsíci

      Thanks a lot 🙌🏼

  • @shahbazliaquat00
    @shahbazliaquat00 Před 5 měsíci +1

    why you use position fixed in every video, it is ok for single page or single container... but when we add this section in a website in center or in bottom it create so much issues, because for that time if we use any other property, animation don't work and create so much issues, a request if you use any property that instead of position fixed, that its more helpful for everyone, thanks😍😍😍😍

    • @codegrid
      @codegrid  Před 5 měsíci +2

      I don’t use fixed position out of my choice but it stays the requirement in order to achieve similar results of a particular website. I get your point but you can also remove that copy container as IT HAS NOTHING TO DO WITH THE ANIMATION. If you’re animation doesn’t work, there has to be some other issue with your code. The JS code is not touching that element at all! Thanks

    • @shahbazliaquat00
      @shahbazliaquat00 Před 5 měsíci

      @@codegrid okkkkk thanks

  • @ahnafrahi5859
    @ahnafrahi5859 Před 5 měsíci

    this code is not working I had copied you end to end
    and Im having error in this 2 line
    let section = document.querySelector(sectionId);
    let preview = document.querySelector(previewId);
    console is keep saying that this 2 (sectionId and previewId ) are not defined

    • @codegrid
      @codegrid  Před 5 měsíci

      Works on my end. You need to pass those into the function parameters in the later part of the code brother.

  • @adeniranjoshua1608
    @adeniranjoshua1608 Před 4 měsíci

    Hello Codegrid, please I'm getting an error in the console that "GSAP target null not found." and I have check everywhere everything seem fine according to how I followed the way you wrote the code any Idea where else I can look?
    Thank you

    • @be3turas
      @be3turas Před 3 měsíci

      Did you figure it out?

    • @Mitch-nq8zl
      @Mitch-nq8zl Před měsícem

      I was getting the same error, but I found out that I copied the sections and the .img classes and didn't change the 'id' numbers

  • @SlothNiraj
    @SlothNiraj Před 5 měsíci

    Bro do you work in any comapany or are you self-employed?

  • @sshmru
    @sshmru Před 5 měsíci

    background-attachment: fixed; ?

    • @codegrid
      @codegrid  Před 5 měsíci

      Lol. Give it a try and see if it gives you the same results 😂

  • @TanishqPratap
    @TanishqPratap Před 5 měsíci

    Is it responsive ?

    • @codegrid
      @codegrid  Před 5 měsíci

      Haha why not! I mean can adjust the width and height of the images based on your need, not any rocket science! There’s nothing else to expect on the page to expect “responsiveness” from. Thanks

  • @Mamalizzam
    @Mamalizzam Před 5 měsíci

    omg so creative
    why don't you use tailwind css for unnecessary part??

    • @codegrid
      @codegrid  Před 5 měsíci +1

      I personally don’t like it

    • @Way_Of_The_Light
      @Way_Of_The_Light Před 5 měsíci

      Yeah vanilla css/scss is better

    • @creaky2436
      @creaky2436 Před 5 měsíci

      @@Way_Of_The_Light No it isn't lol. Original site uses tailwind, it's everywhere. The best css library to use at the moment.

    • @Way_Of_The_Light
      @Way_Of_The_Light Před 5 měsíci

      @@creaky2436 it just makes the html ugly and makes incorporating advanced CSS animations like animations from codepen difficult. Majority of the developers still prefer to use vanilla CSS/SCSS to keep things organized. There’s no reason to waste time learning tailwind anyway if you’re already pretty good with CSS.

    • @creaky2436
      @creaky2436 Před 5 měsíci

      @@Way_Of_The_Light In that case, you would use custom css in your globals.css file and use @components directive. Tailiwind standardizes css and makes things consistent across the board, easily readable once you understand the classes, and highly customizable for theming. You can develop an mvp so much faster with tw. I don't mind bloated classnames.