Text Stagger Scroll Animations in Webflow

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • Update: Unpkg went down temporarily on April 12, 2024 which is the website that hosts the split type library. I updated the cloneable to use a jsDelivr link to the library instead.
    Follow along as we create repeatable letter and word animations using GSAP that are easy to apply across your entire website.
    Get the cloneable for this project (affiliate link)
    webflow.grsm.i...
    Join my Webflow Wizards Community
    / timothyricks
    Try Webflow using my affiliate link below.
    webflow.grsm.i...

КОМЕНТАРІ • 129

  • @KevinCanlas-f9g
    @KevinCanlas-f9g 5 місяців тому +4

    8:11 is SUCH a crucial part to this whole process. That flickering drives me insane. Thank you Tim!

  • @joaolucaswork
    @joaolucaswork 2 роки тому +24

    I love how Tim brings the problem along with the solution, in addition to helping to solve the problem, he gives you this mindset ❤

    • @themuriloribeiro
      @themuriloribeiro 2 роки тому +1

      Grande, João Lucas! To acompanhando teu trampo no insta, não surpreende que você aprende com os melhores

    • @joaolucaswork
      @joaolucaswork 2 роки тому +1

      @@themuriloribeiro Opaaa Murilo, muito bom ver você por aqui também, vamos nessa 🔥❤️

  • @spiderone_
    @spiderone_ Рік тому +22

    If you get a line-height problem, this is because overflow:hidden on .word adds height for some reason. Fix this by adding vertical-align:top; to your .word class in the css. Thanks for the tutorial by the way !

    • @shaheerrahman87
      @shaheerrahman87 Рік тому

      Pin this Tim!

    • @ne_robkaya
      @ne_robkaya Рік тому

      🙏

    • @hehebupbup
      @hehebupbup Рік тому

      💋💋💋💋😁

    • @dkxlinx
      @dkxlinx 10 місяців тому

      Omg thank you sm i tried so long to fix this. 🙏

    • @adc_00
      @adc_00 10 місяців тому

      Thanks for the help, buddy. Was stuck on this issue for so long 😅

  • @thebakedone32
    @thebakedone32 2 роки тому +5

    This is amazing Timothy, keep up the good work!

  • @alexheeney8216
    @alexheeney8216 2 роки тому +1

    Thanks, this helped me on a personal project. One thing I would recommend is that if you are using images throughout the page is to use the imagesLoaded library to keep the scroll trigger in the correct place

    • @karimsaab3018
      @karimsaab3018 Рік тому

      Hey man, can you please share
      more details? having the same prob

    • @luciechartin894
      @luciechartin894 Рік тому

      same here! could you explain? Halfway down the page, the aniations stop showing, unless I refresh the page from there...

  • @simonlampert
    @simonlampert 2 роки тому +9

    Thank you Tim, really valuable content ❤️

  • @zg9z6
    @zg9z6 Рік тому +2

    Thanks for the tutorial!
    For anyone struggling with the leading/line height changing after you apply the attributes, try vertical-align: top!important in the CSS section in the settings of your Webflow page.
    I had tried just doing vertical-align: top and it wasn't working until i added !important.

  • @Lukas-xo4zl
    @Lukas-xo4zl Рік тому

    This is exactly what I've been searching for! Perfect!!

  • @timquartier1458
    @timquartier1458 10 місяців тому +4

    Jo, 12th April 2024 and it doesnt work anymore. I literally configured it yesterday and it worked, but today not working anymore. Came back here to see if anyone else has this problem

    • @kaironvinicius9359
      @kaironvinicius9359 Місяць тому

      Same here. Got stuck right at the beggining. Nothing splits ._.

  • @gpolonia
    @gpolonia 2 роки тому +2

    Amazing tutorial and clonable!

  • @ZianiLounes
    @ZianiLounes 2 роки тому +1

    Thank you for this very useful tutorial Tim! 🙏

  • @NachoCombo
    @NachoCombo 2 роки тому +2

    Never clicked so fast on a video

  • @lukawalli
    @lukawalli 2 роки тому +2

    Really cool and easy to use, thank you! :)

  • @eslamdiaa338
    @eslamdiaa338 Рік тому +1

    Love your content, really appreciate ❤️

  • @hehebupbup
    @hehebupbup Рік тому

    If you have a problem when a text indent acts like a letter spacing you can solve it by wrapping the first letter in a span and adding left padding you need there

  • @MaximilianArdenius
    @MaximilianArdenius 9 місяців тому +1

    you're a legend!

  • @ronnyt5914
    @ronnyt5914 6 місяців тому +1

    great tutorial!

  • @taywoo8216
    @taywoo8216 2 роки тому +8

    Amazing stuff man, really appreciate you going into depth on this! Also nice to have a free alternative to GSAPs SplitText. I'm wondering if theres a reason you didn't include any animations by line?

  • @reviewmania1322
    @reviewmania1322 2 роки тому

  • @olivergunther8474
    @olivergunther8474 2 роки тому +2

    This is brilliant!
    Since I am trying to combine this with your page transitions. I need to add a delay before the animtion starts.
    I attempted to add some gsap delay commands, but coundn't get it to work :/

  • @ericschenkenberger6118
    @ericschenkenberger6118 Рік тому +1

    I have a client that wants the same interaction on the H1 text and the paragraph below, but they should animate sequentially. How do I add delay to a class?

  • @shredv6124
    @shredv6124 2 роки тому

    Hello Tim, I love your content! It's very helpful since I'm a beginner in Webflow. It helps me to solve my difficulties in learning to design a website. When I don’t know how to do it, I just watch your videos. It encourages me to continue what I’m doing. However, some of the interactions I want to learn doesn’t have tutorials. I'm just wondering If I could request you favor. I hope you could create video content regarding this site named Em Freebie Issue 2 on how to do the loading animation. It's a cloneable site but I want to learn more about how he created it. I tried to learn it by myself but still don't get it. I believe it's great content for those beginners who want to learn web design in Webflow. Thanks bro, appreciate it. ❤

    • @shredv6124
      @shredv6124 2 роки тому

      Site: Em Freebie Issue 2
      Also, if you plan to create an additional tutorial video for your UA-cam channel, I think this would be helpful.
      Site: Geospace Template

    • @shredv6124
      @shredv6124 2 роки тому

      it prevents me to send the source link. you can visit it in made with Webflow section you can search it I've tried before. Thank you for your support.

  • @russellsaw8781
    @russellsaw8781 7 місяців тому

    Gods work.

  • @imaginerd92
    @imaginerd92 Рік тому +1

    I am having one problem, everything is working fine, except for a section where the animation gets complete before scroll, How can I get that sorted?

    • @timothyricks
      @timothyricks  Рік тому +2

      Hmm, that usually happens if images above that heading don’t have a height applied

    • @imaginerd92
      @imaginerd92 Рік тому +1

      @@timothyricks Thank you so much, you are a life saver. It worked.

    • @swx6074
      @swx6074 Рік тому

      @@timothyricks Thanks so much, I struggled with it as well, however, Is there a way to make it work with defininng width, and having height adjust, as I have a full spread Image that I want to keep the ratio of?

  • @misterclutch11
    @misterclutch11 2 роки тому +1

    what to delete in code that removes scroll trigger? i just want animation when the page loads

  • @edelprojects8308
    @edelprojects8308 2 роки тому +1

    Thank you!

  • @victorrrsimon
    @victorrrsimon Рік тому +2

    hey Tim great tutorial, wondering if there a chance you could fix the clone able link. Would be great!

  • @Daddleo
    @Daddleo 2 роки тому +1

    thank you so much

  • @Веб-жизайн
    @Веб-жизайн Рік тому +1

    why so legend?)

  • @user-tf3ts6ye6l
    @user-tf3ts6ye6l Рік тому +1

    awesome Thanks!!

  • @annayagodkina3137
    @annayagodkina3137 5 місяців тому

    Hi Timothy! Amazing tutorial, as usual!
    Using this animation in my project, everything seems good on Chrome but doesn't work on Safari. Has anyone else had this problem?

  • @ostap.design
    @ostap.design 10 місяців тому

    I have over 20 sites with this code and attributes! And all stopped working today! Timothy, please give us all an answer to solve the problem promptly 🙏

    • @timothyricks
      @timothyricks  10 місяців тому

      Hi, I'm so sorry to hear that! Unpkg went down today which is the website that hosts the split type library. I just uploaded a copy of the library to jsDelivr instead. updownradar.com/status/unpkg.com
      To fix it, we can replace this line of code...
      With this instead...

    • @ostap.design
      @ostap.design 10 місяців тому

      ​@@timothyricks Thank you very much! It's already been fixed. There were also bugs with Spline not showing up through the built-in functionality. It seems to be a glitch on the Webflow side. But everything is working as before

  • @riikkalbum
    @riikkalbum Рік тому

    Hi! This seems to be working only on one text field for me, on the others the letters get all mixed up. What could be the reason for this?

  • @KatieM-ix1jw
    @KatieM-ix1jw 9 місяців тому +1

    It's not working for me?

  • @josetepaz8054
    @josetepaz8054 Рік тому

    Hi Tim! Thanks for your content, i have a cuestion for you, can be this animation loop?

  • @rafael_cunha
    @rafael_cunha Рік тому

    Is there a way to disable this animation on mobile? Thanks for the video, Timothy.

  • @skyn3t995
    @skyn3t995 Рік тому

    How can it works with a "clip background to text" ? It doesn't work actually. Great tutorial

  • @JokerBrand7
    @JokerBrand7 6 місяців тому

    when i use the code on the live site the text heigth changes. Do anybody know why?

  • @martynabogdanska1182
    @martynabogdanska1182 10 місяців тому

    Hi Timothy, I'm trying to clone your Webflow project but it looks like this effect doesn't work anymore. I faced that problem on other pages with similar animation effects as well. Is there any issue with the GSAP library lately?

    • @timothyricks
      @timothyricks  10 місяців тому +1

      Hi, I'm so sorry to hear that! Unpkg went down today which is the website that hosts the split type library. I just uploaded a copy of the library to jsDelivr instead. updownradar.com/status/unpkg.com
      To fix it, we can replace this line of code...
      With this instead...

  • @christinefranklin2301
    @christinefranklin2301 8 місяців тому +1

    Hi Tim.
    Great tutorial. But I can't seem to get the animation to work in the cloneable for Webflow. I cannot find the custom code for the javascript animation anywhere in in the file (global, embed or custom code) . I must be doing something wrong. Trying to recreate in Dreamweaver but not having much luck there either. The headings just sit there without animation. Also, because I cannot locate the javascript code in the cloneable file, I cannot see what change you made in the code to switch from unpkg to jsDelivr. Can you help/? Would like to learn how to apply these cool animations to my web designs. Is there a source for just copying the javascript code so I can include it in my project's custom code window?
    Chris

  • @STalvacchia
    @STalvacchia 2 місяці тому

    This looks so cool, but I'm really confused. I cloned the project and when I look at each text element, there are no custom attributes on them. But the animations are working. What am I missing?

  • @splendouraustin
    @splendouraustin 10 місяців тому

    Hey Tim please where can I get the code you used for the video

  • @ash1015
    @ash1015 Рік тому

    Hey Tim, i have a little problem, i put this code and everything works but sometimes when the text animation shows..it slows down, especially on mobile, it works but slows down a lot..PLEASE ANSWER i must fix that

  • @adityabhakat7489
    @adityabhakat7489 9 місяців тому

    how do we add some delay if we want?

  • @8561
    @8561 Рік тому

    how do you use codesandbox directly with your webflow preview?

  • @madsness101
    @madsness101 10 місяців тому

    I used these on several websites and am a big fan. Unfortunately they stopped working today :/ any ideas?

    • @jasperdeleeuw1172
      @jasperdeleeuw1172 10 місяців тому

      same by me. the code stop working. if someone got a solution please tell me

    • @aljazgorsek2627
      @aljazgorsek2627 10 місяців тому

      In custom code head section change [text-split] {opacity: 1;}, it fixes that the text its visible but animation doesnt work.

    • @madsness101
      @madsness101 10 місяців тому

      The issue with the animation seems to come from the split type library. I get an "SplitType is not defined" error in the console. Not sure how to address it though.

    • @timothyricks
      @timothyricks  10 місяців тому

      @@madsness101 Hi, Unpkg went down today which is the website that hosts the split type library. I just uploaded a copy of the library to jsDelivr instead. updownradar.com/status/unpkg.com
      To fix this, we can replace this line of code...
      With this instead...

    • @madsness101
      @madsness101 10 місяців тому +1

      @@timothyricks Man you are truly amazing ♥Thanks a lot, I appreciate you!

  • @BSNsilviu
    @BSNsilviu Рік тому

    would be really helpful if we would be able to set the attributes of the elements automatically with javascript based on their class name or tag. So for exemple for each h2 element add those attributes(and therefore the animation)

  • @austinandriese
    @austinandriese Рік тому

    Love you code explanations. I know a lot of these can be done in Webflow natively but it’d take longer and be harder to replicate.
    If you could start all over, what code would you learn to write? I took a C# class way back when and now I’m hoping to up my Webflow game. Sounds like JavaScript is best?

  • @domenbrodaric3800
    @domenbrodaric3800 Рік тому

    Hello! Thank you for this tutorial! I do have a question tho. Does your text height change after using this animations? Would you maybe happen to know how to fix this?

  • @nishanthb2327
    @nishanthb2327 5 місяців тому

    Hey Tim,
    I am trying to wrap my head around split type, gsap text animations, its really cool.
    one small issue is when I split the text into char, the letter spacing seems to be breaking, I guess each char span has a width or something. Is there any quick solution for this?

  • @wmcreed
    @wmcreed Рік тому

    The text I'm targeting is getting "-webkit-text-fill-color: transparent" applied on the live site, making it invisible. Any idea why this is happening? It's only when I apply the attribute for this animation.

    • @wmcreed
      @wmcreed Рік тому

      Seems the issue is maybe that I had a gradient fill applied to the text.

  • @mhmadtohme9856
    @mhmadtohme9856 Рік тому

    I clone your webflow project but it not working ?!

  • @yikee4500
    @yikee4500 Рік тому

    nice content! One question, will this work with lenis smooth scroll?

    • @timothyricks
      @timothyricks  Рік тому

      Yes, it should! Lenis doesn’t interfere with GSAP

  • @judekolawole7354
    @judekolawole7354 2 роки тому

    Hey Timothy,
    I was wondering how I could delay the animation if I was using same animation for two text blocks in a div because they seem to play at once.
    I’m a weblow beginner loll

  • @eugenetetris
    @eugenetetris Рік тому

    hey tim that's an awesome explanation, i just had a few questions. When I download the cloneable webflow project it doesn't seem to play the animation in Toggle Preview, do I need to set anything up to activate it? I have a webflow site where I want the text to animate, in order to do that do I just need to add the Custom Code in the Inside and Before sections? for it to work?

    • @timothyricks
      @timothyricks  Рік тому

      Hi, this interaction uses JavaScript so it won’t run in the preview, only on the published site. There’s data attributes on the text and code in the page settings needed to run this.

    • @eugenetetris
      @eugenetetris Рік тому

      @@timothyricks ah brilliant, makes sense and thanks for the speedy reply much appreciated 👏

  • @wearestudiotonic
    @wearestudiotonic 2 роки тому +1

    Hey man, how do you get the source link for the code sandbox? Sorry for such a dumb question...

    • @wearestudiotonic
      @wearestudiotonic 2 роки тому

      I want to code in Sandbox like you do, and have the code affect my Webflow website.

    • @timothyricks
      @timothyricks  2 роки тому +2

      Hi @@wearestudiotonic, good question! I show how to connect the two at this timestamp.
      ua-cam.com/video/fbsux6zg1d0/v-deo.html
      I also have a codesandbox tutorial here that goes into more detail.
      www.patreon.com/posts/51678553

    • @wearestudiotonic
      @wearestudiotonic 2 роки тому +1

      @@timothyricks thanks so much man! Thanks for replying quickly and in detail, I really appreciate it.

  • @Tousiff-b8v
    @Tousiff-b8v Рік тому

    Hey there, is there a way to split each line instead of word or letters and apply animation for the entire line? currently I've separated each line into an individual div and used default webflow animations. I'm thinking of switching it to gsap and text split.

  • @ErikandOtherNiceStuff
    @ErikandOtherNiceStuff 10 місяців тому

    Hi @timothyricks Split-type doesn't work anymore due to "Cross-Origin Read Blocking (CORB) blocked a cross-origin response". Is there a solution?

    • @timothyricks
      @timothyricks  10 місяців тому +3

      Hi, thank you for letting me know! Unpkg went down today which is the website that hosts the split type library. updownradar.com/status/unpkg.com
      To fix it, we can replace this line of code...
      With this instead...

  • @ericschenkenberger6118
    @ericschenkenberger6118 Рік тому

    Anyone having issues with these interactions working sporadically? I've got a site with these added in quite a few places, and I can't find any commonalities on why some items always work, while others often don't. Refreshing the page with the viewport on top of a malfunctioning interaction will cause all text-split interactions on the page to work again. If the page is loaded and items are not working, sometimes (but not always) scrolling up and down past the text will sometimes make the interaction play. There doesn't seem to be any correlation behind scroll speed or scroll distance. (Trying to make sure the interaction has time/space to trigger the reset.)

    • @timothyricks
      @timothyricks  Рік тому

      It sounds like there might be images that don’t have an aspect ratio applied above the text that isn’t working. Images without an aspect ratio cause the page height to change once they load in and offset the scrolltrigger position

    • @ericschenkenberger6118
      @ericschenkenberger6118 Рік тому

      @@timothyricks Hmm, ok, I'll play around with that and see if It helps out. Thanks for the quick reply!

    • @ericschenkenberger6118
      @ericschenkenberger6118 Рік тому

      Thanks@@timothyricks! I ended up setting the images on the page to eager loading so that if the client swapped them out for others in the future, the aspect ratio wouldn't be locked.

  • @kvncnls
    @kvncnls 2 роки тому

    This looks awesome! Is the text responsive, though? Like if the text moves over to the next line, does it screw up the animation?

    • @timothyricks
      @timothyricks  2 роки тому +1

      Thank you! Yes, the text is responsive. That’s really only an issue if we wrap the lines into spans, but we’re only using words and characters in this case.

    • @kvncnls
      @kvncnls 2 роки тому

      @@timothyricks Ooh thank you! Btw, is there a reason why you don't use GSAP's toggleActions for onEnter and onLeave events?

  • @mightbedk
    @mightbedk 9 місяців тому

    Hey Timothy, the animations only work on 1 page. I've tried pasting the code individually in all the pages and also in the head and footer site code, neither seem to work. Is there any solution for this? Thanks in advance

  • @theusmabit
    @theusmabit Рік тому

    It's possible do use this animation with mouse hover?

    • @theusmabit
      @theusmabit Рік тому

      I made an similar animation to the "Letters Slide Up" on webflow using 2 text blocks inside a div with interactions but this isn't responsive, so I'm thinking about this animation that you showed in your video if it would work in my case or not

  • @sachinRao15
    @sachinRao15 2 роки тому

    Hey Timothy, nice tutorial. Do you have any specific reason for using opacity on page load to hide content? You could have used autoalpha instead to prevent FOUC, right?

    • @timothyricks
      @timothyricks  2 роки тому +1

      Thank you! Just used opacity for simplicity in this case. Autoalpha would work here also though.

  • @cloutcobain123
    @cloutcobain123 11 місяців тому

    Would this affect the H1's readability for SEO reasons?

    • @timothyricks
      @timothyricks  11 місяців тому

      I don’t believe so. Each word and letter is wrapped in a span which has no semantic meaning. Spans are meant for use inside headings, and they don’t change the way the heading is read.

    • @cloutcobain123
      @cloutcobain123 11 місяців тому

      ​@@timothyricks makes sense. I'll test it out by implementing it and I'll use Semflow or some SEO tool to see if it can find my H1.

  • @billchien95
    @billchien95 2 роки тому

    Hey Tim! This is amazing. Thank you! I’m working with multiple fonts on the same page, and the only thing that bugs me is the universal .word padding and margin. How can I set it up so that different fonts have different padding-bottom and margin-bottom for the animations?

    • @timothyricks
      @timothyricks  2 роки тому +1

      Thanks Bill! If each font has a different class name on the text element, you can override the generic .word padding like this.
      .your-custom-heading-class .word {
      padding-top: 2em;
      padding-bottom: 2em;
      }

    • @billchien95
      @billchien95 2 роки тому

      @@timothyricks Thank you! I tired to put this under the .word style inside tag and it’s still not working 🤧

    • @billchien95
      @billchien95 2 роки тому

      Actually, it works! was missing a space between .your-custom-heading-class and .word. Thank you!!!

    • @timothyricks
      @timothyricks  2 роки тому

      Oh awesome! Sure thing!!

  • @themadute847
    @themadute847 2 роки тому

    thanks Tim, can the animation happen on load animations?

    • @timothyricks
      @timothyricks  2 роки тому

      Sure thing! Yes, it already does if the element is past the trigger point on page load. But you can also remove the paused: true setting and the createScrollTrigger for any animation to make them happen on page load.

  • @krims254
    @krims254 2 роки тому

    Awesome, how hard would it be to implement this to normal html css js.?

    • @timothyricks
      @timothyricks  2 роки тому

      Relatively simple! Just copy over the css and JavaScript from the page settings. Then apply the attributes to any html elements you’d like. The code uses jQuery so you’d also need to import that library if it’s not already on your site or tweak the code.

  • @sandrarenman1033
    @sandrarenman1033 2 роки тому

    Can you make a video showing how you connect codesandbox with your webflow project please? :D

  • @plainwooddigital
    @plainwooddigital 2 роки тому

    Hi Tim! Thanks for all your terrific content.
    How would you modify the code to honor user preferences for reduced motion if any are set?
    Thanks in advance!
    -Marc

  • @arrystr765
    @arrystr765 2 роки тому

    Where can i get the code in Code Sand Box

    • @timothyricks
      @timothyricks  2 роки тому +1

      Hi, it’s in the page settings in the cloneable

  • @adarshgoldar
    @adarshgoldar 2 роки тому

    Nice Tutorial Tim, Is there any alternative to GSAPs SplitText for text animation ?

    • @timothyricks
      @timothyricks  2 роки тому

      Thank you! The split library used in this tutorial is SplitType, a free alternative to GSAP’s SplitText

  • @grahambedbrook1971
    @grahambedbrook1971 Рік тому

    Hi Tim, great video. But is there a way of getting the animation to trigger on a slider change? Client wants his testimonials to do this effect each time the sldier changes. Here's hoping!. Thanks

  • @DerekSiu-gm9rl
    @DerekSiu-gm9rl 2 роки тому

    Tim Ricks Please Notice Me Senpai!

  • @alex2dots
    @alex2dots 2 роки тому

    "No Code Platform"