Text Stagger Scroll Animations in Webflow

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

ความคิดเห็น • 129

  • @KevinCanlas-f9g
    @KevinCanlas-f9g 4 หลายเดือนก่อน +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 ❤

    • @omuriloribeiro
      @omuriloribeiro 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

      @@omuriloribeiro 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 9 หลายเดือนก่อน

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

    • @adc_00
      @adc_00 9 หลายเดือนก่อน

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

  • @alexheeney8216
    @alexheeney8216 ปีที่แล้ว +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...

  • @thebakedone32
    @thebakedone32 2 ปีที่แล้ว +5

    This is amazing Timothy, keep up the good work!

    • @timothyricks
      @timothyricks  2 ปีที่แล้ว

      Thanks so much! Will do!

  • @timquartier1458
    @timquartier1458 8 หลายเดือนก่อน +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 15 วันที่ผ่านมา

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

  • @zg9z6
    @zg9z6 11 หลายเดือนก่อน +1

    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.

    • @florianpollet3484
      @florianpollet3484 4 หลายเดือนก่อน

      Thanks for the tip! It worked like a charm

  • @Lukas-xo4zl
    @Lukas-xo4zl 11 หลายเดือนก่อน

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

  • @simonlampert
    @simonlampert 2 ปีที่แล้ว +9

    Thank you Tim, really valuable content ❤️

  • @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?

  • @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

  • @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 :/

  • @NachoCombo
    @NachoCombo 2 ปีที่แล้ว +2

    Never clicked so fast on a video

  • @gpolonia
    @gpolonia 2 ปีที่แล้ว +2

    Amazing tutorial and clonable!

  • @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?

  • @victorrrsimon
    @victorrrsimon ปีที่แล้ว +2

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

    • @ronnyt5914
      @ronnyt5914 5 หลายเดือนก่อน

      +1

  • @ronnyt5914
    @ronnyt5914 5 หลายเดือนก่อน +1

    great tutorial!

  • @ZianiLounes
    @ZianiLounes 2 ปีที่แล้ว +1

    Thank you for this very useful tutorial Tim! 🙏

  • @lukawalli
    @lukawalli 2 ปีที่แล้ว +2

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

  • @josetepaz8054
    @josetepaz8054 ปีที่แล้ว

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

  • @christinefranklin2301
    @christinefranklin2301 7 หลายเดือนก่อน +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

  • @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?

  • @eslamdiaa338
    @eslamdiaa338 ปีที่แล้ว +1

    Love your content, really appreciate ❤️

  • @misterclutch11
    @misterclutch11 2 ปีที่แล้ว +1

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

  • @MaximilianArdenius
    @MaximilianArdenius 8 หลายเดือนก่อน +1

    you're a legend!

  • @yikee4500
    @yikee4500 ปีที่แล้ว

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

    • @timothyricks
      @timothyricks  ปีที่แล้ว

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

  • @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 👏

  • @rafael_cunha
    @rafael_cunha ปีที่แล้ว

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

  • @martynabogdanska1182
    @martynabogdanska1182 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน +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...

  • @splendouraustin
    @splendouraustin 8 หลายเดือนก่อน

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

  • @STalvacchia
    @STalvacchia หลายเดือนก่อน

    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?

  • @nishanthb2327
    @nishanthb2327 4 หลายเดือนก่อน

    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?

  • @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?

  • @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?

  • @KatieM-ix1jw
    @KatieM-ix1jw 8 หลายเดือนก่อน +1

    It's not working for me?

  • @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.

  • @russellsaw8781
    @russellsaw8781 5 หลายเดือนก่อน

    Gods work.

  • @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?

  • @adityabhakat7489
    @adityabhakat7489 8 หลายเดือนก่อน

    how do we add some delay if we want?

  • @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.
      th-cam.com/video/fbsux6zg1d0/w-d-xo.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.

  • @JokerBrand7
    @JokerBrand7 5 หลายเดือนก่อน

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

  • @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)

  • @8561
    @8561 ปีที่แล้ว

    how do you use codesandbox directly with your webflow preview?

  • @annayagodkina3137
    @annayagodkina3137 4 หลายเดือนก่อน

    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?

  • @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 TH-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.

  • @skyn3t995
    @skyn3t995 10 หลายเดือนก่อน

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

  • @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

  • @mightbedk
    @mightbedk 7 หลายเดือนก่อน

    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

  • @madsness101
    @madsness101 8 หลายเดือนก่อน

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

    • @jasperdeleeuw1172
      @jasperdeleeuw1172 8 หลายเดือนก่อน

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

    • @aljazgorsek2627
      @aljazgorsek2627 8 หลายเดือนก่อน

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

    • @madsness101
      @madsness101 8 หลายเดือนก่อน

      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  8 หลายเดือนก่อน

      @@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 8 หลายเดือนก่อน +1

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

  • @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.

  • @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

  • @edelprojects8308
    @edelprojects8308 2 ปีที่แล้ว +1

    Thank you!

  • @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!!

  • @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?

  • @user-tf3ts6ye6l
    @user-tf3ts6ye6l ปีที่แล้ว +1

    awesome Thanks!!

  • @reviewmania1322
    @reviewmania1322 ปีที่แล้ว

  • @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

  • @Daddleo
    @Daddleo 2 ปีที่แล้ว +1

    thank you so much

  • @ostap.design
    @ostap.design 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน

      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 8 หลายเดือนก่อน

      ​@@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

  • @ErikandOtherNiceStuff
    @ErikandOtherNiceStuff 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน +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...

  • @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.

  • @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.

  • @Веб-жизайн
    @Веб-жизайн ปีที่แล้ว +1

    why so legend?)

  • @cloutcobain123
    @cloutcobain123 10 หลายเดือนก่อน

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

    • @timothyricks
      @timothyricks  10 หลายเดือนก่อน

      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 10 หลายเดือนก่อน

      ​@@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.

  • @mhmadtohme9856
    @mhmadtohme9856 ปีที่แล้ว

    I clone your webflow project but it not working ?!

  • @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

  • @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 ปีที่แล้ว

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

  • @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

  • @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.

  • @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

  • @grahambedbrook1971
    @grahambedbrook1971 11 หลายเดือนก่อน

    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 ปีที่แล้ว

    Tim Ricks Please Notice Me Senpai!

  • @alex2dots
    @alex2dots 2 ปีที่แล้ว

    "No Code Platform"