You Can't Find a Better Infinite Marquee

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

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

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

    I just updated the cloneable with fixes for published mobile sites: For images: set loading to eager and width to 100%. Minimize extra content within the content div. For text just minimize extra content in the content div. Thanks Jake for your comment.

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

      Does setting image width to 100% not fill the entire screen though?

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

      @@samuel_powell in this case it means "100% of the parent element" or just makes the images fill available space depending on its sibling elements. in flexbox case.

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

      Mine is a bunch of single words each in its own text block, works great on desktop. On mobile some of the words overlap. Not sure what you mean by "minimize extra content" in the content div.

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

    If you want two marquees on the same page scrolling in opposite directions, give the marquee content in the second marquee another combo class of "reverse" and add this to the embed:
    .reverse {
    animation-direction: reverse;
    }

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

      💯 thanks Eric!

    • @NA-hs1xm
      @NA-hs1xm ปีที่แล้ว +1

      doesn't work

    • @luna.9561
      @luna.9561 ปีที่แล้ว +2

      Thank you so much! Works perfectly!

    • @Kebbab.213
      @Kebbab.213 2 หลายเดือนก่อน +1

      I came back to this video hoping to find exactly this thank you so much

  • @kelly_browning
    @kelly_browning 7 หลายเดือนก่อน +2

    I think you might be my absolute favorite Webflow creator. You deserve FAR MORE credit and subs. Thank you for always putting time and care into your tutorials. This one helped out immensely!!!

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

      Wow, thank you! Can I use this as an official testimonial???

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

      @@webbae Absolutely! Anything I can do to help boost your visibility. I also watched your tutorial about connecting forms to third party applications like ConvertKit months ago and it was by FAR the most comprehensive and easiest to follow. Thank you for all of your hard work!

  • @josephgraham6098
    @josephgraham6098 10 หลายเดือนก่อน +4

    Bro, you've saved me on three projects with this marquee. Thank you, man.

    • @webbae
      @webbae  10 หลายเดือนก่อน +1

      Hey Joe - that’s awesome! Glad it helped.

  • @kingdumb9692
    @kingdumb9692 2 หลายเดือนก่อน +1

    You're right, I can't find a better infinite marquee. This code + the version you posted with the pause on hover is god-tier. Thank you!

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

      Glad you like it!

  • @roving-camera_72
    @roving-camera_72 หลายเดือนก่อน +1

    Easy to follow. Works like a charm. This is my kind of tutorial!

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

    Thank you so much for taking the time to not just show the code but create a blog write up explaining your technique. I just could not wrap my mind around the concept until I found your video lol thank you!

  • @jordanryskamp229
    @jordanryskamp229 4 หลายเดือนก่อน +3

    Just watched this and got a little nostalgic about the old Webflow UI. 😂

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

      Hahah 🥲

  • @JohnSmith-bs9ym
    @JohnSmith-bs9ym 11 วันที่ผ่านมา

    I'm not sure why, but every single infinite marquee that I've ever built does the "snapping" thing randomly. You can observe this by pausing it and letting it sit for a bit. It will randomly jump and is kind of awkward.

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

    You saved me, thanks man. I'm currently doing a pro-bono project with other passionated guys in Italy. We are trying to make a change in the system of education (even small). I needed so bad this tutorial. You may have indirectly contributed to a great cause ❤

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

      Glad I could help and good luck!

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

    How we are able to see the horizontal scrolling content in the editor on 3:01? Is that a webflow short key?

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

      You can control that with the overflow property on the element with the marquee class.

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

      @@webbae Thanks, I'll try it next time. Amazing channel and info btw, greetings from Eastern Europe!

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

    Absolutely amazing tutorial. I managed to translate this into my Shopify page as our company is changing the theme and could follow is flawlessly. Thank you for your contribution!

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

      Glad it helped - And cool to see it being used ALL OVER! The power of HTML + CSS :)

    • @ss1ngh-0
      @ss1ngh-0 ปีที่แล้ว

      could you guide me with the path on where i should add this. is it edit code > sections > new section?

  • @Theo-mo6vu
    @Theo-mo6vu ปีที่แล้ว +2

    Hello, thank you for this video. There is one problem I am having where the marquee flickers when transitioning on Firefox and Safari but works fine on Chrome. Do you know what could be causing this and how I can fix it?

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

      not sure but it does sound like a calculation error or issue with your gap. A common mistake is also not eagerly loading images. Feel free to drop in discord and post a link to your project.

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

      same here

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

    You simply cannot find a better one. Awesome.

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

      Thank you 🙏

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

    Thank you for your great tutorial. If I want to add the marquee behind the text, should I put its position as "fixed" or "absolute" with a z-index: -1 ?

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

      Yup that could work.

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

    How do you remove the gap between the marquee content blocks?

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

      adjust the flex gap in designer and in the custom css.

  • @younlogiudice7244
    @younlogiudice7244 9 หลายเดือนก่อน +1

    Not many words needed. Just dope! Thank you.

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

    Best Marquee tutorial! Easy to follow and to the point. Thanks Web Bae

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

      Thanks Dmoco!

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

      @@webbae Have you got any tutorials for horizontal splide drag but nested in the cart 😜 I was looking in the bae webflow resources

  • @taylorcornelius7926
    @taylorcornelius7926 7 หลายเดือนก่อน +1

    Hi, any idea why at the end of the second marquee-content the animation "jumps" to the start position? It's not a smooth loop. Both marquee contents are the same. Thanks for the help!

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

      it could be a number of things... timing, widths of inner elements, some CSS properties...
      the comments have a lot of troubleshooting that might help.
      otherwise feel free to post in Discord and I can try to help you out.

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

    That's the actual marquee that worked for me ! Thanks!

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

    For some reason, the first 5 or 6 logos in my marquee don't smoothly come into view from off screen, where you can see the whole logo move into view. Instead they sort of blink in. Any ideas what's going on? Thanks

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

      Check comments on setting loading to eager for your images.

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

    Thank you for the video. I have a question. Everything works great on desktop and even the mobile preview in web flow but whenever I publish it, all of my logos seem to be extremely far apart only in Mobile. I did your solution but they just seem to be so far apart from each other. Any idea why? I tried to join the discord but the link is invalid

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

      here's a link that will work for 7 days: discord.gg/mzTCSehv would love to check out your build.

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

    what is the CSS for change the direction?. left, right, up, down.

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

      this is automatically move from right to left... i want also up and down and right also.

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

      Try reverse for right to left. For top to bottom you’ll need to modify the x value in the Keyframes to y. I’ll bet chatGPT could nail it!

  • @acidsunshine8908
    @acidsunshine8908 3 หลายเดือนก่อน +1

    why i cant use this in another page in the same project, i had problems with this :(

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

      It should work across different pages - maybe check if you are duplicating and/or overwriting some css

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

    why does it blink from time to time? i see the blinking on the clone project also

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

      I'll have to investigate. Would you be able to send a screenrecording?

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

      same!

  • @samueluebersax8528
    @samueluebersax8528 2 หลายเดือนก่อน +1

    anything we can do about the flickering when it starts over?

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

      It shouldn’t do that. Your gap setting might be off? Is the example flickering for you too?

  • @SrishtiChaudhary-cp8ft
    @SrishtiChaudhary-cp8ft 3 หลายเดือนก่อน +1

    if we want to pause the marquee so that user can click and select the image how are we going to do that?

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

      you can set the animation play state to paused with the :hover pseudo selector.

    • @SrishtiChaudhary-cp8ft
      @SrishtiChaudhary-cp8ft 3 หลายเดือนก่อน +1

      @@webbae thanks! also this is the most perfect way of creating a marquee that i have come across yet! so simple, so seamless, no weird restarts, no gaps.. just stunning!

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

    Nice one...but how to decrease the space between the images... We set 1rem but its not really 1 rem its greater than that

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

      you might not have enough images in the content div to "squish" then together and enforce the 1 rem gap. Or you might have your base font size different. Hope that makes sense

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

      @@webbae that makes sense.... thanks

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

    sorry I am slow, do you have the html text I can copy and I will make changes as I go

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

      I don't but you could open up the webflow cloneable and copy/paste from inspector or export the code if you have the right workspace plan.

  • @tjk_9000
    @tjk_9000 9 หลายเดือนก่อน +1

    this saved me, the native interactions are so choppy when building these

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

      I’m so glad it could help! In my latest live stream I used splide With the auto scroll extension to build a similar component, you might be interested in checking that out too

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

      Yoloing a Website for Dann Petty
      th-cam.com/users/liveHoY_OKfFy_U?feature=share

  • @silverline-studio
    @silverline-studio 9 หลายเดือนก่อน +1

    whenever i put my images instead of the ipsum logo's, they start skipping..

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

      there are a lot of helpful tips in the comments. It may have to do with widths of items (check inspector).
      If that's troublesome - try my splide auto scroll cloneable: webflow.grsm.io/cloneable-is-bae?sub1=splide-template-with-autoscroll

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

    from where you add scroll combo class?

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

      maruqee-content - can you check the cloneable?

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

    Yes, but how do you get it to tilt like in the thumbnail?
    My guess is that you will need to be able to extend the edges past the VW and then add your rotation.

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

      yup that's it! Hop on in the discord if you need help: discord.gg/nN4ZbGem

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

    Works a charm, thank you!

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

    Does this work with a collection list? I've tried about 5 different solutions and none of them seem to...

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

      I haven’t tried with CMS but I don’t see why not. Send me a preview link?

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

    You my friend are a master!❤ Thank you!

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

    This is great, only thing is I get a gap between marquee content blocks, and second one just appears in the middle. Discord invite expired, any other way I get some help? Thanks! 🙏

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

      here you go: discord.gg/pwfDptfBZb

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

    So clean 🧼 seeing that adaptive preview! Gotta have that display 💪🏼

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

      TBH the tag does go hard but MDN had to kill it 😢

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

    Hey bro, whenever I swap my logos for the ones I want to use, the marque starts skipping, leaving a big gap then skips to the beginning again! Any ideas?

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

      Check the comments for some ideas. Setting width to 100% and loading to eager helps. You might also need to play with the number of logos in your content div.

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

      @@webbae Bro I dunno, where do i set the 100% width to? to the marquee? How do I change the loading?

    • @silverline-studio
      @silverline-studio 9 หลายเดือนก่อน

      @@Binyamin1444 It just doesnt work for anything besides .svg

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

    Reminiscent of childhood snow days, watching the schools scroll by on the bottom of the news channel indicating if they were still open. Needed them to scroll at faster rate!!

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

      We always gotta keep the school board in check with the scrolling marquees. Make sure the kids get their snow days! I’m talking to YOU Carmen Gisell!

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

      And YOU Heather Richard Shannon!!

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

    How do i add more images? it overlaps all the time?

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

      try setting flex child sizing to none and width to 100% on the element.

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

    Does this work with Showit too? And if so, where do I add the text I want as an infinite marquee?

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

      Have never used showit but it supports HTML and CSS then it should work!

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

    Happy New Year and thank you for sharing. The marquee is working perfectly in Safari and Chrome.
    I noticed a strange loop issue using Firefox, though. Simply add 8 images with 650x500px dimension to the marquee-content. The marquee flickers and the loop interrupts on Firefox. Adding 6 images instead shows smooth marquee. It could be related to max dimension? I have set loading to eager, width to 100% and also added -webkit-transform: translateZ(0) to no avail. Is it Firefox bug?

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

      Hey Tom! Unfortunately not sure on this one :(. Sounds like something to do with Firefox like you mentioned but I can't say for sure.

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

    Very nice! I like this setup for a basic marquee, but if you want mouse interrupts where you can pause it when mouse enters and scroll with trackpad, I need a more advanced solution.

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

      GSAP will have you covered for that - I have a video in that too :). This one could do the hover effect with an extra line of css I think someone already asked about that in the comments.

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

      @@webbae Eager to know the code. Pls.

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

      @@avinashnamadhari here you go: webflow.grsm.io/cloneable-is-bae?sub1=infinitie-marquee-pause-hover

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

    is there any way to do this on a curve or at an angle?

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

      curve would be tough but you could rotate the whole thing and extend it a little beyond 100%

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

      @@webbae interesting idea thanks. i ended up finding a way to do this using some embedded javascript

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

    Works perfect! Thanks!

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

    Thanks for sharing! Is it possible to change the speed? Feels a little quick currently.

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

      Yes just adjust the value in the css code.

  • @jimmoefoe1471
    @jimmoefoe1471 6 หลายเดือนก่อน +1

    It breaks when we add more image to it.

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

      Be sure to check the comments section for a lot of good tips!

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

    There a big uneven gap in between the text.

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

      feel free to send along a read-only or live preview and I'll see if I can help.

  • @AFDAL-xu4yz
    @AFDAL-xu4yz ปีที่แล้ว

    I tried to add more than 2 marque-content but it doesn't work :(

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

      pop in discord and provide a link if you need help.

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

    Hey! Thanks for the video. Just have a question: if I have several marquees, how can I make one of them scroll in the opposite direction?

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

      Change the translateX(calc(-100% - 1rem)) to positive 100% ought to do it.

    • @NA-hs1xm
      @NA-hs1xm ปีที่แล้ว

      ​@@webbae it does move to the right but it creates a skip starting from the beginning

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

    Thanks for the awesome vid man! Everything works except on my puplished mobile site, logos are randomly disappearing at times. Not sure if you have any advice or have seen this before? Cheers

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

      same. On webflow preview everything looks clean, but on published mobile device the logos are ways slower and even disappearing.

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

      That’s not cool. Sorry about that. I’ll look into this.

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

      Was able to fix the issues - make sure any images that will be off screen have loading set to "eager." I also set width to 100%. For text, I added a class of "hide" to the second text elements inside the content divs. It seems to perform best on mobile when you don't add more to the content div than what should render on screen. Preview link with fixes to follow once you guys confirm the fixes work for you.

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

      Preview of fixes: preview.webflow.com/preview/wb-infinite-marquee-c9304d09ef2d1f9aad2?preview=4810fc9081737a6ecb84531580f071c9&workflow=preview

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

      Works for me on safari and chrome iPhone 14

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

    Thanks a lot for this video! This method is so much better than using the Webflow interactions!

    • @webbae
      @webbae  10 หลายเดือนก่อน +1

      Glad it helped!

  • @Jonathan_Bowman
    @Jonathan_Bowman 7 หลายเดือนก่อน +1

    Anyone know how to do a fade ramp -- on the edges?

    • @webbae
      @webbae  7 หลายเดือนก่อน +1

      Check out this cloneable by Khrystyna Liubynska which uses absolute divs with linear gradients. You might also be able to use CSS :before and/or :after pseudo elements to do it.
      webflow.grsm.io/cloneable-is-bae?sub1=logo-marquee-dual

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

      @@webbae Thanks Brother!

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

    hi there - super cool tutorial, thank you! Is there any way to solve issues when marquee is position absolute? As soon as I put the marquee div block as absolute it doesn't work as intended. I tried putting it in the wrapper that would be absolute so the marquee is static, but it also causes issues. I'm trying to use a marquee as a part of the design on the website in a specific place (rather then going across the whole page).

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

      Hey hard to tell without an example to debug. Discord is for that.

  • @patriksjeren
    @patriksjeren 7 หลายเดือนก่อน +1

    Great stuff, my marquees sorted :)

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

      💯 💯

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

    Thanks for the amazing tutorial. Any major difference you noticed between this and the GSAP one?

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

      Major difference is CSS vs. JS. CSS I like because it's a simple copy/paste job and run in Webflow designer. JS I like because I feel like I have more control - I had one subscriber modify it so it scroll top to bottom instead. There's a lot of content on the web saying CSS animation outperform JS but the true answer is "it depends" I believe. In general I find myself reaching for Javascript when doing animations these days but that's probably just because I use it for so many other things too. CSS is capable of some really amazing stuff.

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

    Best Marquee ever... Made mine great... Thanks so much...

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

      thanks!

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

    Hey Keegan, this is easily one of the simplest marquee!
    BTW, would love to know how to stop the scrolling animation on hover interactions, say helping the user to read and/or click link in the text content.
    Thanks!!

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

      I think you posted in Discord but here's a cloneable that does that: webflow.grsm.io/cloneable-is-bae?sub1=infinitie-marquee-pause-hover

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

    Cool, gives the page that live news feel of the big boys.

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

    Dude I love you! Thank you so much🙏

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

      Appreciate your support!

  • @Mattiasbaldi123
    @Mattiasbaldi123 6 หลายเดือนก่อน +1

    This animation does not work in safari.

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

      it does, but it can have issues depending on how you set it up. Please check the comments section for important updates and fixes from the community.

  • @IanMurray-g5i
    @IanMurray-g5i ปีที่แล้ว +1

    Apologies late to the party here! Thanks for this great marquee! Is it possible on mobile to make it animate slightly faster? Let me explain I've I've got 5 logos scrolling and 5 other in reverse and its set to '20s' and it works perfectly on desktop and tablet at that speed but on mobile portrait and landscape it slows to a snail's pace? :( Is it something I'm doing?

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

      you could use a CSS media query to accomplish that... something like:
      /* Media query for mobile */
      @media (max-width: 600px) {
      .scroll {
      animation-duration: 30s; /* Adjust the speed for mobile */
      }
      }

    • @IanMurray-g5i
      @IanMurray-g5i ปีที่แล้ว

      @@webbae Thanks for this! Although i may be design savvy unfortunately I'm not coding savvy :)...but i'm learning! But now you've explained...it makes perfect sense!
      Like i say coding is not my expertise...so am i right in thinking if i place the media query like this?...
      @keyframes scroll {
      from {
      transform: translateX(0);
      }
      to {
      transform: translateX(calc(-100% - 1rem));
      }
      }
      .scroll {
      animation: scroll 30s linear infinite;
      }
      .reverse {
      animation-direction: reverse;
      }
      * Media query for mobile */
      @media (max-width: 600px) {
      .scroll {
      animation-duration: 30s; /* Adjust the speed for mobile */
      }
      }

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

    That was really useful thank you. 😇

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

    I love css-only solutions.

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

      yes need more of these. Looking forward to CSS view transitions, scroll-driven animation, and :has selector!

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

    Very nice tutorial, easy to follow. And yes, I do change text color instead of background all the time and then wonder why it is not working haha

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

    Great work man!
    Any tips on how to do this using a CMS collection?
    Thanks dude.

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

      Sure thing - essentially I would just map each collection item to "marque-image" and then the collection list would map to the "marque-content" div. Hope that helps!

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

    Thank you so much! you gained a new subscriber

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

      Thanks for the sub!

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

    Great video. Thanks my man.

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

      You bet

  • @GP-JB
    @GP-JB ปีที่แล้ว +1

    I get glitches when I change the speed (% in the embed). Any ideas man? Thanks dude! Flex GAPS are both set to 1.

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

      Sometimes it needs a refresh or click of the preview button to "reset" but should still work on the published site. Swing by the Discord if you still need help: discord.gg/eun35XFA

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

      Please could I have another invite?

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

      how do I get into the discord dude?

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

    Thank you man!! :)

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

      Happy to help!

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

    Did webflow look like this 1 year ago!?

    • @webbae
      @webbae  4 หลายเดือนก่อน +2

      haha yes.

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

    Wow. Great video my friend.

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

      thank you

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

    Do this work with wordpress?

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

      I've never used wordpress but I don't see why not.

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

    Works great!!

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

      Glad to hear!

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

    im getting skipps. what might that be?

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

      Hey Joe - lots of info in the comments about little fixes you can try depending on what may be causing the skips. Feel free to hop in Discord and share a link too.

  • @hal-zeitlin
    @hal-zeitlin 2 ปีที่แล้ว

    How does it compare to Relume's solution? Neat.

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

      Not familiar with their marquee solution but in general they make really quality stuff so I'm sure it's top notch too.

  • @lodeluyckx
    @lodeluyckx 10 หลายเดือนก่อน +1

    Nice, thanks!

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

      You bet!

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

    NICE! Thanks for sharing!

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

    Probably the best solution I can find, but doesn't seem to work well on Safari. Anyone know of a fix for this?

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

      Hey Sam there are a number of ideas to explore in the comments for fixes across various browsers. Hard to troubleshoot without a minimum example of the problem you are facing though!

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

    Hi Web Bae, amazing tutorial thank you very muhc for your content. How can i rotate the marquees without having them cutted? Thanks again keep up with your good work.

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

      Hey Pedro - a few steps: 1. Extend the width to something like 110%. 2. Translate X left -5% (or whatever half of width%-100) is. 3. Rotate! 4. Set parent wrapper… probably the section… to overflow hidden to prevent horizontal scroll issues. Good question maybe I’ll make a quick video in that.

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

      @@webbae already tried something like that but it still cuts on the left and adds horizontal scroll even if the marquee is set to overflow hidden. And if i make the section overflow hidden the marquee does something weird that gains some kind of padding that follow the height of the section. Maybe im doing something wrong. Thanks for the quick answer

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

      @@pedromrr7 I’ll try to take a look when I get back to my desk

  • @mirkosimic8898
    @mirkosimic8898 10 หลายเดือนก่อน +2

    how can you say you cant find a better infinite marquee and does not even explain how it works on mobile...

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

      Works on my machine! 🙃

    • @mirkosimic8898
      @mirkosimic8898 10 หลายเดือนก่อน +1

      thank you for your answer, i really appriciate it. It would be awesome if you explained what to do, because i have 2 different marquees on my home page now. I followed every step, only I did it with text, so I have 1 container and 2 containers and in each one 8 words.

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

      did you read through the comments and the description block? There are sometime where you may need to make adjustments to getting it to work. My inclination is that the text may be too long or something and sometimes safari doesn't like that. Hard to say without being able to inspect though.

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

    Agree, this is the best one)

  • @urban-pixel
    @urban-pixel ปีที่แล้ว

    Genius!!!!!! Thanks 🙏

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

      Glad it helped!

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

    This is Absolutely the Best

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

    Thank you!

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

    THANK YOU. The other tutorials that are unresponsive are just... stupid

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

    Thanks for sharing

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

    There’s a lot of bugs with responsiveness.

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

      Check the comments for lots of good ideas for fixes and other issues.

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

      How do I -> 2. Set loading to eager on all images@@webbae

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

    GENIOUSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS

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

    your mic is killing my ears

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

      Hey sorry about that. I can try turning down the gain next time. Is it too loud? Fuzzy? Crackling?

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

      @@webbae the treble sounds too high, it sound too harsh

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

      @@RajivB. Thanks I'll play around with my audio settings for next video.

  • @TravisKane-g9f
    @TravisKane-g9f 4 หลายเดือนก่อน +1

    d

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

    total bs

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

      Thank you for this outstanding comment. You win comment of the month award! 🥳

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

      @@webbae 😂😂😂😂😂😂

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

    Wow!!! Thank you Web Bae!

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

      You bet!

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

    I tried making this with a collection list, there's a little work around that needs to be added.
    This example doesn't take into account the extra div (collection list wrapper), so it needs to be deleted on load (this doesn't affect the CMS items).
    Here's the script I added to handle this (it may need to be adapted to your build):
    $(document).ready(function() {
    $('.marquee-content').each(function() {
    const marqueeContent = $(this);
    const marqueeWrapper = marqueeContent.parent('.marquee-wrapper');
    // move marqueeContent out of the wrapper
    marqueeWrapper.before(marqueeContent);
    // Delete marqueeWrapper
    marqueeWrapper.remove();
    });
    });

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

      thanks for sharing!

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

    Thank you!