CSS Animations in Webflow

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

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

  • @timothyricks
    @timothyricks  9 месяцев назад +8

    I added a second page to the cloneable for triggering these on scroll with javascript.
    Get the cloneable for this project (affiliate link)
    webflow.grsm.io/tricks?path=tricks-css-animation

    • @KRK_Rocks
      @KRK_Rocks 9 месяцев назад +2

      Hi Timothy, I am new to Webflow. Is there a path I can follow on your Patreon link that can take me from beginner to advanced?

    • @timothyricks
      @timothyricks  9 месяцев назад +2

      @@KRK_Rocks Oh, good question! I don’t have anything like that currently

    • @SeanGraham-v7h
      @SeanGraham-v7h 9 месяцев назад

      Is there a noticeable difference in performance using your method here vs using one of webflows premade animations (like slide) and setting it to trigger on scroll?

    • @KRK_Rocks
      @KRK_Rocks 9 месяцев назад

      @@timothyricks Do you have anything in the works or would you consider making a sequential playlist for beginners?

    • @iamsomewhere
      @iamsomewhere 9 месяцев назад

      @@SeanGraham-v7h Yes, because css animations are handled directly by the GPU instead of potentially being bottlenecked by the single-thread that JavaScript has to run everything through.

  • @tioass
    @tioass 9 месяцев назад +36

    If the Tim Awards existed, this would be the video of the year! Congratulations!

    • @timothyricks
      @timothyricks  9 месяцев назад +7

      Thank you so much! I'm really glad this helps

    • @melimaislau1437
      @melimaislau1437 9 месяцев назад +3

      It’s not helping, it is life changing

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

    i need every single braincell to perform at the absolute max level to keep up, but t.ricks content is the best there is

  • @lifipp
    @lifipp 9 месяцев назад +12

    I swear to god - I just asked in the comment under your video about Webflow's new custom CSS properties, whether It's possible to add custom CSS animations through it and few hours later you upload a video about it! That's the fastest fulfilled video request on RUclips ever! 😃

    • @timothyricks
      @timothyricks  9 месяцев назад +5

      Haha, perfect timing! I saw your comment right when I finished recording. 😂

  • @james8356
    @james8356 9 месяцев назад +5

    Your channel is like the Hogwarts of Webflow! Always amazing content!

  • @benvsantos
    @benvsantos 9 месяцев назад

    I am grateful that i chose to watch one last video before bedtime, I am still learning to the last minute. Thank you for sharing your knowledge, this is Gold. Thank you Tim you are such a great teacher.

    • @timothyricks
      @timothyricks  9 месяцев назад

      Thank you so much for the kind words! I'm really glad this is helping :)

  • @timdaff
    @timdaff 8 месяцев назад +2

    This is such a great video. It’s amazing that CSS animation has not gotten more love from Webflow and the community in general, especially considering how long it has been around!
    I’d love to hear if there are any new trigger options or you have ideas for triggers using css only, outside of common pseudo classes.
    Imagine a pseudo class for :in-viewport or something similar!

    • @timothyricks
      @timothyricks  8 месяцев назад +1

      An :in-viewport native to css would be awesome! CSS scroll() is coming but not supported in Safari or Firefox yet.
      caniuse.com/?search=scroll()
      I would see :focus-within being used alongside :hover to maybe create a css-only nav menu.

  • @mindfulmilligan
    @mindfulmilligan 9 месяцев назад +3

    Tim!! You are an absolute wizard.. true icon and I look up to you man. This was very helpful. Good bless!

    • @timothyricks
      @timothyricks  9 месяцев назад

      Thank you so much for the kind words! God bless!

  • @johanvanwambeke723
    @johanvanwambeke723 9 месяцев назад +1

    I see custom properties and I think Oh nice! But nothing really happens untill I see you make the magic happen! Thanks Timothy!

    • @timothyricks
      @timothyricks  9 месяцев назад

      I’m still slowly discovering the different use cases also. 😂 I’m really glad this helps!

  • @HarshitAgrawalOfficial
    @HarshitAgrawalOfficial 9 месяцев назад +2

    Taking custom CSS to next level! Amazing content Timothy really enjoyed this ❤

  • @FloNocode
    @FloNocode 9 месяцев назад +1

    I love so much this approach ! wee need to make a massive live with aron in webflow channel , this trick is a BIGGEST GEM I ever seen ! i hope to see more in a live build in you channel. Thank You ! Want to see more on this way

  • @qiaoya66
    @qiaoya66 9 месяцев назад +3

    Awesome. It feels like the webflow I use and the webflow you use are not the same thing.

  • @AurelienSchibli
    @AurelienSchibli 9 месяцев назад +1

    This is exactly what I was looking for. After finsweet did a livestream on css animations I was super curious.

  • @SepulvedaCarlos
    @SepulvedaCarlos 9 месяцев назад +1

    Just shipped in time !! I was having some marquee issues! I love you man! 😊

  • @FloNocode
    @FloNocode 9 месяцев назад +1

    This is so incredible ! Gamechanger !

  • @jo69123
    @jo69123 9 месяцев назад

    Holy fuc**g sh*t Timothy, this is awesome. So insightful! and it’s impressive, how optimized your workflow is, thanks for sharing

  • @coreymoen
    @coreymoen 9 месяцев назад +8

    This is SOOOO epic!! Definitely a bit of effort to get it setup, but I love that it’s all performant CSS.
    Wondering if you could even package all of the embed stuff into a library to serve over JSDelivr for people? Like CSS GSAP to a point?!

    • @timothyricks
      @timothyricks  9 месяцев назад

      Thank you, Corey! Great idea!

  • @turaluix
    @turaluix 9 месяцев назад +1

    Webflow king hits again!

    • @timothyricks
      @timothyricks  9 месяцев назад

      Thank you! So glad this helps

  • @austinandriese
    @austinandriese 9 месяцев назад

    Love this video Tim. Super powerful and simple. Going to try it out today!

    • @timothyricks
      @timothyricks  9 месяцев назад +1

      Thank you, Austin! I really appreciate you requesting this one!

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

    Hi, firstly brilliant content.
    I am stuck on something and have tried for several hours to resolve; I wonder if you could help... I have done something similar to your loop-move-left example (8:57) but I have been trying for hours to figure out how to reverse the text direction on page scroll. So as a user scrolls down the page, the direction of the looping text reverses and as they scroll back it goes back to normal.
    Your input would be greatly appreciated. Happy to share a video/images/link of the exact example. Thanks in advance

  • @shivarathrianil
    @shivarathrianil 9 месяцев назад +1

    I have several sections in Home page. How to reveal the elements while scrolling the page to the next section. Can you make a separate video on that.

  • @samueluebersax8528
    @samueluebersax8528 9 месяцев назад +1

    This is awesome! 😮 Does it work with a scroll into view function? All your settings seem to load on page load.

    • @timothyricks
      @timothyricks  9 месяцев назад +1

      Thank you! Yes, it can. I just added a second page to the cloneable showing how the css animations can be triggered on scroll with JavaScript.

    • @МаринаПискарева-я1л
      @МаринаПискарева-я1л 4 месяца назад

      @@timothyricks applied attributes to the container and scrip to the page - not working(( smbd have same issues?

  • @tioass
    @tioass 9 месяцев назад +4

    Is it possible to run the animations when scrolling?

    • @timothyricks
      @timothyricks  9 месяцев назад +3

      It is, but it's not supported in Safari or Firefox yet.
      caniuse.com/?search=scroll()

    • @gargulec6085
      @gargulec6085 9 месяцев назад +3

      You can use jquery to create while scrolling animations. If you want to create scroll into view animation you can check with jquery whether an element entered the viewport, and once it does add class with assigned animation made in CSS :)

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

      You can use intersection observer js to trigger animtions

  • @hezychasta
    @hezychasta 9 месяцев назад +1

    Tim!!! my mind has just blow :) thx:)

  • @zarkodimitric6339
    @zarkodimitric6339 8 месяцев назад

    Hey Rick, awesome tutorial! My question is related to infinite marquee. I am trying to set it up for logos, but I guess since they are all different sizes, the marquee is all messed up. Is it possible to keep the smooth marquee using only CSS?

  • @CrewdFrost
    @CrewdFrost 8 месяцев назад +1

    how do I make the css animations only start animating when fully in viewport? anyone??

  • @mucmuc3849
    @mucmuc3849 9 месяцев назад +1

    this is so amazing!THX

  • @totallyempty
    @totallyempty 9 месяцев назад +1

    This is absolute gold! So sick of glitching webflow interactions

  • @stewber
    @stewber 9 месяцев назад +1

    This is genius! Any plans to add to Lumos?

    • @timothyricks
      @timothyricks  9 месяцев назад +2

      Thank you! I’m not sure yet, but possibly! I could see an optional cdn link working really well like Corey mentioned.

  • @weezyf775
    @weezyf775 9 месяцев назад

    right off the bat, things like the benefits of ccs vs javascript are stuff i know NOTHING about. i know it's impossible to cover EVERYTHING, but as someone who's comfortable with native webflow capabilities, I'd love to learn more about these niche details to take my abilities to the next level.
    Alas, until webflow offers free plugins (apps) for ecommerce and memeberships I can't rationalize investing my time into learning this stuff..as much as I'd like to.

  • @andresochoa3040
    @andresochoa3040 9 месяцев назад

    Hey @timothyricks, how can I make the same split out animation apply to text when I hover over it?

  • @JulianOrtler
    @JulianOrtler 9 месяцев назад

    Hi Tim,
    Thank you so much, that's fantastic! I've been trying to add the JavaScript code for triggering on scrolling, but it's not working at my clients site. I've spent three hours going through the code snippet, checking the attributes and classes. Everything seems to be exactly the same as in the cloneable, but still, it's not working. I even copy pasted my clients section to your cloneable. There it works. Do you have any idea why this might be happening at my clients site, probably hard to tell? Could I send you a read-only-link? Thanks in advance!

  • @hoaithuong8088
    @hoaithuong8088 9 месяцев назад +1

    OMG I love this video so much !!!!!

  • @filippovaragnolodesign
    @filippovaragnolodesign 9 месяцев назад

    Amazing video, thanks Timonthy! Is there any way to trigger these animation with the page scroll?

    • @timothyricks
      @timothyricks  9 месяцев назад +1

      Thank you! Yes, there is. I just added a second page to the cloneable showing how the css animations can be triggered on scroll with JavaScript.

    • @filippovaragnolodesign
      @filippovaragnolodesign 9 месяцев назад

      Amazing! Thanks!!!@@timothyricks

  • @iamsomewhere
    @iamsomewhere 9 месяцев назад

    You should do a follow-up video taking this concept one step further... by adding a JavaScript intersection observer to the site settings custom code area. This lets you apply all those cool custom CSS animations, but triggered in the viewport as you scroll through the page. I started doing this and won’t go back to interactions (for a multitude of reasons).

    • @timothyricks
      @timothyricks  9 месяцев назад

      Thank you! I actually added a second page to the cloneable already with code and documentation for using intersection observer through data attributes. It definitely seems like it can replace GSAP and Webflow IX in a lot of cases. I can’t wait for the native css scroll to be better supported

    • @iamsomewhere
      @iamsomewhere 9 месяцев назад +1

      @@timothyricks I just saw it and actually have an implementation similar, but I think even more streamlined if you’re interested in seeing how I handled this.

    • @CobabeCreative
      @CobabeCreative 4 месяца назад

      @@iamsomewhere I am interested :)

  • @rehankhurshid
    @rehankhurshid 9 месяцев назад

    ONE WORD: EPIC ⚡️

  • @vierlessDE
    @vierlessDE 9 месяцев назад

    Do the animations only start when entering the viewport or on page load? It would be super practical if they "wait" until you can see them.

    • @timothyricks
      @timothyricks  9 месяцев назад +2

      They all start on page load in this case. For now, triggering them on scroll requires JS until css scroll gets decent browser support.

  • @ettkanal
    @ettkanal 9 месяцев назад

    Great video! But will this really reduce the size of the huge webflow.js file?

    • @timothyricks
      @timothyricks  9 месяцев назад +1

      Yes, for sure! Every interaction is included in the Webflow JS file even if it’s not used on that page. The same interactions can often be done in css with significantly less lines of code

  • @afiuza1718
    @afiuza1718 9 месяцев назад

    🤯🤯🤯 the webflow master

  • @SergiyHavriluk
    @SergiyHavriluk 6 месяцев назад +1

    Realy Cool!

  • @Helios-222
    @Helios-222 4 месяца назад +1

    Tim I love you

  • @jsphbngrnd8847
    @jsphbngrnd8847 9 месяцев назад

    I'm curious how this can be triggered only when elements are in view? I assume these all happen on page load?

    • @timothyricks
      @timothyricks  9 месяцев назад

      Good question! I just added a second page to the cloneable showing how the css animations can be triggered on scroll with JavaScript.

  • @heyderekj
    @heyderekj 9 месяцев назад +1

    Imagine Webflow Interaction 3.0 using this PLUS having a timeline view

  • @davidgoult8694
    @davidgoult8694 9 месяцев назад

    Hi Tim I have a question it’s kind of adjacent to animations. In Webflow I would like to have a parent like a card in a slider and on hover change the colour of the link text. But currently what seems to happen is when you set the parent Div block to hover and change the text colour it does not apply to the anchor tag at all. It completely ignores it. Do you have to do this with CSS only? Or is there another way? The parent div we are talking about is inside a native web slider. 🙏

    • @timothyricks
      @timothyricks  9 месяцев назад +1

      Hi, yes that should be possible with css only.
      .your-card:hover .child-text {color: red;}

    • @davidgoult8694
      @davidgoult8694 9 месяцев назад +1

      @@timothyricks thanks so much for the reply

  • @zenitwal
    @zenitwal 9 месяцев назад

    Does it work only on page load or there any way to make it work when element comes into view?

    • @zenitwal
      @zenitwal 9 месяцев назад

      Found the answer in the comments

  • @appleestrada6810
    @appleestrada6810 9 месяцев назад

    Newbie question. What coding languange do I need to learn to know all these custom properties? Thanks

    • @timothyricks
      @timothyricks  9 месяцев назад +1

      Hi, just css. W3 Schools is one of my favorite resources. Here’s a list of all the css animation properties and values.
      www.w3schools.com/css/css3_animations.asp

    • @appleestrada6810
      @appleestrada6810 9 месяцев назад +1

      @@timothyricks Appreciate it! Thanks Tim!

  • @divonci-world
    @divonci-world 7 месяцев назад

    MY DARG TIMOTHY BLUDCLART RICKS - effin GEEZA!!!

  • @bilalwho3490
    @bilalwho3490 9 месяцев назад +1

    subscribed and liked and commented

  • @gamalieljustinflores5109
    @gamalieljustinflores5109 9 месяцев назад

    Are you able to add these to CMS items?

    • @timothyricks
      @timothyricks  9 месяцев назад +1

      Yes, the staggering and everything still works on collection items.

    • @gamalieljustinflores5109
      @gamalieljustinflores5109 9 месяцев назад

      @@timothyricks legendddddd

    • @gamalieljustinflores5109
      @gamalieljustinflores5109 9 месяцев назад

      Would you also be able to do this on other elements below the hero? Like when you scroll in view some sections?

  • @denniedarko
    @denniedarko 9 месяцев назад +1

    Cool ❤

  • @jo69123
    @jo69123 9 месяцев назад

    I have followed all steps by the T, but the scroll into view javascript function still doesn't work. CSS animations happen only on pageload, or they appear in their final state, and then the animation gets triggered (?) since this is uncharted territory, I'm lost here. I'd recommend to anyone trying this out to make a backup first, because it just doesn't work

    • @interveste884
      @interveste884 9 месяцев назад

      Does not work here either. It's back to ScrollTrigger and GSAP for me then.

  • @joergfrank
    @joergfrank 9 месяцев назад

    amazing

  • @TheKnowledgeToolbox
    @TheKnowledgeToolbox 9 месяцев назад

    My transform: translateY is not working at all any Ideas?

    • @timothyricks
      @timothyricks  9 месяцев назад

      If the element you’re animating is set to inline, try setting it to inline block instead. Otherwise, check for any missing punctuation or errors in the code.

    • @JaredK000
      @JaredK000 9 месяцев назад

      @@timothyricks And it was punctuation.. Thank you for taking time to answer me. I want to use this so bad but browsers won’t let me.😢

  • @pilot341
    @pilot341 9 месяцев назад

    I know have website performance is checked. I understand.

  • @ihajo
    @ihajo 8 месяцев назад

    ok I guess I have to back to learning CSS again :(

  • @asheemshrestha
    @asheemshrestha 9 месяцев назад +3

    It would be awesome if someone could come up with converter plugin to convert js animation to css animation. I would pay for it.

    • @timothyricks
      @timothyricks  9 месяцев назад +2

      That would be super useful