Create an Awesome Text Reveal Animation with GSAP

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2024

Комментарии • 76

  • @DesignCourse
    @DesignCourse  2 года назад +3

    Hey all, this Monday (October 3) is the 2 week early access period to my nee interactive CSS course! designcourse.com/css

    • @namusanganicholas9206
      @namusanganicholas9206 Год назад

      which software are you using for the annotations during the tutorial?

  • @517design
    @517design 2 месяца назад

    I’ve looked at a lot of videos and done a lot of training on GAP and your videos are very efficient and to the point. love it!

  • @AndreaRiezzo
    @AndreaRiezzo 2 года назад +2

    Essential and flawless: good tutorial! Thank you!

  • @theriser8751
    @theriser8751 2 года назад +1

    I always used a parent div to do the mask thing with the text, but with clip-path is so much easier...

  • @Lwski01
    @Lwski01 Год назад +1

    Now how would you add scroll trigger to it??

  • @TheProfessorMA
    @TheProfessorMA Год назад +1

    good tutorial! Thank you!

  • @jkbrodotdev
    @jkbrodotdev Год назад +3

    couldnt you have done an overflow: hidden on the h1 instead of the clip path no?

    • @alanmurray4011
      @alanmurray4011 Год назад

      Yes, that would’ve make a lot more sense.

  • @nv3796
    @nv3796 Год назад

    Liked and Subscribed !!

  • @varshigamer-uk8ln
    @varshigamer-uk8ln Год назад

    The same text can be possible on scroll means the text animation should do in the viewport

  • @sonamohialdin3376
    @sonamohialdin3376 2 года назад

    Very good tutorial

  • @jean-baptistedioli1692
    @jean-baptistedioli1692 10 месяцев назад

    Hello
    Thanks for all the awesome video you're doing. Did you make video about Angular with GSAP ?

  • @ricardoroukoz
    @ricardoroukoz Год назад +1

    great tutorials man ... but i have a question the clip path u put is supposed to show all the text, then why in this case it's hiding it

  • @cryptopiafanai8916
    @cryptopiafanai8916 2 года назад +2

    how do you do this in react?

  • @mr.magnificent5520
    @mr.magnificent5520 2 месяца назад

    when i am increasing the size of the text the mask is not positioned properly why ?

  • @TK-uo7cb
    @TK-uo7cb 2 года назад

    good shit thank you my guy

  • @sheridanlugo8967
    @sheridanlugo8967 2 месяца назад

    This tutorial is great, but I'm having an issue: when I apply my splittype it's getting rid of my css styling on my h1. Tried messing around with css inheritance but it's not fixing the issue :/

  • @johansapulete
    @johansapulete Год назад

    my office PC's desktop fan sound it's look like want to EXPLODE when i opened GSAP main website

  • @dhruv12698
    @dhruv12698 Год назад

    Can someone help me in animating the exit of the same text after 2 seconds? like text enters from bottom and exits to top

  • @drumskillbobe
    @drumskillbobe 2 месяца назад

    Will this work for text inside an SVG?

  • @DidierGirard-w7k
    @DidierGirard-w7k 6 месяцев назад

    Thank you! An alternative was to use gsap.from. The .char css then becomes useless.

  • @nickjacobs1752
    @nickjacobs1752 Год назад

    @designcourse any reason you are using splittype rather than the gsap split text plug-in?

    • @ayurtsybenov
      @ayurtsybenov 10 месяцев назад +1

      Because GSAP SplitText is a paid plugin

  • @uzersayed3530
    @uzersayed3530 Год назад

    what vscode theme do you use ?

  • @charlesxavier77
    @charlesxavier77 Год назад

    How can I change the default class?

    • @charlesxavier77
      @charlesxavier77 Год назад

      Oh, like so:
      const greetingFormula = new SplitType('#greetingFormula', {
      types: 'chars',
      charClass: 'greetingText',
      });

    • @hariskhanzada7507
      @hariskhanzada7507 7 месяцев назад

      @@charlesxavier77 Thankyou so much brother.

  • @EyeIn_The_Sky
    @EyeIn_The_Sky 2 года назад

    very nice thank you! I f you wanted to animate the second name to use a different clip-path or transform: translateY to appear from a different direction, how would you target those elements for the second name since "splitType" utility slaps the "char" label on all the characters :/

    • @michaelhofby
      @michaelhofby 2 года назад

      target the ones you want with a more specific css selector i would guess. Like a pseudo selector

  • @devoxygen7395
    @devoxygen7395 2 года назад

    After long time with coding

  • @-0-__-0-
    @-0-__-0- Год назад

    I'm having serious line height issue with this font family.

  • @Miki-mo7tk
    @Miki-mo7tk Год назад +1

    except split text is a premium feature that costs $101 per year! :(

  • @bahaedakka
    @bahaedakka 2 года назад +3

    Nice one! But isn't it easier just to do it with CSS instead? Something like :nth-child(n)+nth-child(n+1) {animation with a delay here...}?

    • @DesignCourse
      @DesignCourse  2 года назад +7

      I think I mention somewhere in the tutorial that I'm using GSAP here because presumably if this were a full project, you'd benefit greatly by all of the other features and time saving techniques that GSAP offers.

    • @kristijanpirkovic9594
      @kristijanpirkovic9594 2 года назад

      How about the delay? You would use nth-child to calculate the delay? Doing it manually would be big time waster

    • @bahaedakka
      @bahaedakka 2 года назад

      @@kristijanpirkovic9594 use variables

    • @klaus117gaming
      @klaus117gaming 2 года назад

      Why do you like pain 😪

    • @godwinebikwo6544
      @godwinebikwo6544 2 года назад

      @@bahaedakka please could you reproduce on codepen?

  • @CarterMarshall-p3r
    @CarterMarshall-p3r 2 месяца назад

    Caroline Mountains

  • @AkinsRealm
    @AkinsRealm 2 года назад +1

    Your tutorials make me want to dive into some coding (yeah I love design more but still :), thank you Gary! I see there’s an “XD” indicator next to a folder icon at the footer/bottom bar of the vscode window, is that an XD plugin or..?

    • @trebaltek
      @trebaltek 2 года назад

      i recently dropped all adobe products after years of use, ill tell you was the best decision ive ever made, adobe hindered my creativity, before dropping them i stumbled on threejs, react three fiber, gsap and theatrejs which will allow you to import custom 3d designs from blender3d which is also free and allow you to build websites in 3d environments.. man your design skills will pass anyone who designs sites using adobe products,. you can get much better functionality and cooler app like threejs than youll ever get paying for a subscription with creative cloud. diving fully into javascript and typescript has totally upped my game. and i dont have to pay one dime. also Vscode was made before XD . il tell you start with learning the programs mentioned above and below you'll be excited every morning to learning java and typescript so you can use these amazing programs xd has nothing on and .

    • @trebaltek
      @trebaltek 2 года назад

      best part all open source. need vectors use inkscape, need photo shop edits use gimp, need 3d renders or models use blender3d , need websites use vscode and threejs or react three fiber than you can integrate the gsap plugins easily.

    • @AkinsRealm
      @AkinsRealm 2 года назад +1

      @Trebaltek Recs Thank you for mentioning your thoughts and hints about 3D assets. I do like using Adobe CC products since I like the ecosystem and apps' integration also they pretty much set the standards in the industry and I see some benefits of that while applying to jobs. But it also comes to personal preferences. I haven't been coding for a long while but vscode is my go to tool when I need to edit some html/css, UI related code etc. It might be made before XD but it doesn't change the fact that there might be some plugins for some integration/quickly getting some design aspects to css etc. Thank you for your reply again :)

    • @trebaltek
      @trebaltek 2 года назад

      i hate when yt deletes comments of people just helping other people. but im sure you still see my comment in your notifications

    • @trebaltek
      @trebaltek 2 года назад

      ​@@AkinsRealm strange you tagged @UCmoOilpjgciY57JrIdoOPlA is that what my name looks like to you? thats not even my handle.lolol weird

  • @muzammilsyed2339
    @muzammilsyed2339 2 года назад

    Splitype alternative for Reactjs?

    • @vladyslavnechytailo2586
      @vladyslavnechytailo2586 2 года назад +2

      Put it in useEffect
      useEffect(() => {
      const title = document.querySelector("#mytext");
      const myText = new SplitType(title)
      gsap.to(".char", {
      y: 0,
      opacity: 1,
      duration: 1,
      stagger: 0.05,
      delay: 0.2,
      });
      })

    • @euvenbeucht6413
      @euvenbeucht6413 2 года назад

      @@vladyslavnechytailo2586 Thank you! Somehow my "char" class is not getting its properties. Could you please give me a hint how to write the css classes?

  • @wardanjukovs2884
    @wardanjukovs2884 2 года назад +1

    why ur looking your 2 monitor a lot

    • @DesignCourse
      @DesignCourse  2 года назад +1

      It's a reference code monitor. You wouldn't want me to wing live coding, it's never buttery smooth for anyone.

    • @wardanjukovs2884
      @wardanjukovs2884 2 года назад

      @@DesignCourse I got u

  • @eyujunior9991
    @eyujunior9991 2 года назад +1

    third

  • @TaimoorShahzada
    @TaimoorShahzada 2 года назад +1

    first😅

  • @djordySchenkeveld
    @djordySchenkeveld 2 года назад +1

    second!

  • @nested9301
    @nested9301 2 года назад

    Little tip guys don't just watch the video try to do it first then watch the solution

  • @petsoni
    @petsoni 2 года назад +5

    I'm really frustrated about the fact that no one is pointing out that he is just looking up some code in his other monitor and then just rewriting it in the main monitor so you can follow along... Why is it a tutorial if you are just blatantly "copying" code? The content is amazing, don't get me wrong, but imagine a professor looking at his notebook the whole lesson just so he can teach the students something that he didn't even learn... You are just better of making a post on Reddit or CodePen and everyone can just copy the same code as you and not even bother watching the 10-20 minute videos... Very bad practice!!!

    • @teixeira2764
      @teixeira2764 2 года назад

      it's probably his code tho

    • @Artist01222
      @Artist01222 2 года назад

      I saw that too but it doesn't mean to me much. It is just a way of earning money🤑

    • @namusanganicholas9206
      @namusanganicholas9206 Год назад +5

      you should show us how tutorials should really be made, Mr. Bad Practice. ohhh... wait, there aren't on your channel, very bad practice

    • @guts190
      @guts190 Год назад +2

      Hes just showing how to use It and explaining us the process. I learned and that works for me. Dont know what you criticize so much, its only a RUclips video, hes not your personal teacher.

    • @nickjacobs1752
      @nickjacobs1752 Год назад

      It just shows he’s actually done some prep and made sure the code works before filming the vid…

  • @webbae
    @webbae 2 года назад +1

    Yo I just posted the same thing yesterday but as a gsap.from() animation! haha great minds think alike 🧠 I see this reveal effect everywhere these days.

    • @Artist01222
      @Artist01222 2 года назад

      Your tut was much more helpful..