Creating an infinite logo carousel with pure CSS

Поділитися
Вставка
  • Опубліковано 8 лют 2025
  • In this video we create an infinite logo carousel in a matter of minutes using only CSS.
    Starter files: github.com/Cod...
    Finished (css): github.com/Cod...
    Finished (js) github.com/Cod...

КОМЕНТАРІ • 298

  • @firstbloodfangy6933
    @firstbloodfangy6933 Рік тому +35

    Exactly what I was looking for simple and clean, I never get tired of seeing this slide. Great tutorial Robby!

  • @nunolopes8263
    @nunolopes8263 11 місяців тому +7

    Hey Robby, this is awesome!! Exactly what I was looking for... neat CSS, no Javascript even needed. Pure and simple CSS code. Keep up the great work. Thank you!!!

  • @crim-son
    @crim-son Рік тому +9

    Can you just imagine, and ive been battling with swiper js for months on how to create fluid autoplay infinite loop carousel, you solved my problem flawlessly

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

      Any time I am working on a project and I realize I need to add a js library to the project. I feel some type of way. Especially libs that does these kind of stuff.

    • @natoservice3250
      @natoservice3250 3 місяці тому

      for months? why, is that a huge neccesity for you

    • @crim-son
      @crim-son 3 місяці тому

      It was a requirement from work, when i did it on my own it always has bugs and glitches and layout shifts.

    • @natoservice3250
      @natoservice3250 3 місяці тому

      @@crim-son ok buddy good luck may god be with you and ease your work🙏

  • @vaztechs
    @vaztechs Рік тому +23

    Straight to the point. You made it so easy to understand, thanks!

  • @grabthisinfo1799
    @grabthisinfo1799 Рік тому +5

    So useful... In case if anybody saw a glitch when the width is more and images are less, all we need to do is copy multiple times.

    • @wotok7
      @wotok7 11 місяців тому +1

      Damn, I spent 1 hour and didn't find the solution until found your comment. Thanks!

    • @ZakariaTEKNIS-gg4xf
      @ZakariaTEKNIS-gg4xf 8 місяців тому

      Thank you, saved my life, I was literally about to bang my head on the keyboard

    • @gamersgame43
      @gamersgame43 3 місяці тому +1

      Lol I was actually trying to fix this for like 3 hrs

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

    The best short css trutorial I've ever seen 😊. Well explainded. Great. Looking forward to next one.👍

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

    Came across this video by pure chance and thank you very much for it. Exactly what a tutorials needs to be like! ❤

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

    After all the hassel of reading different blog posts, this is just the solution I was looking for, simple and straight forward. Thanks!

  • @thegreatkeljb
    @thegreatkeljb Рік тому +7

    This channel is underrated Why you only have 9k subs? You deserve more sir. Thank you for this.

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

    Wow I spent so many hours trying to make this and even did some math calculations to render them. But your solution is so much better and simpler

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

    been struggling for days to find an exact tutorial, u are a life savior !!

  • @Jpugas
    @Jpugas Рік тому +5

    Looked for a clean and simple solution for a while, very cool way to do it. You can also use CSS Mask in place of the :before:after and a linear gradient. Thanks for sharing this!

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

    Awesome tutorial Robby!
    Instead of adding the :before & :after tags you can also add the following css to the .logos container:
    mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
    );
    * This will fade in from transparent at 20% on each side using the background of the container ;)

  • @BryanJimenez
    @BryanJimenez 4 дні тому

    Thank God for you my friend. This is flawless and amazing .Thank you 🙏🏼

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

    Damn thats what i was trying for past 3 days chat gpt failed to to ths mannn love itttt you got a subscriber man

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

    you made it so easy , thanks , i was doing it with intersection observers and intersection ratio in javascript , after i failed i came here and saw this , thanks

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

    Thank you, I spent hours on other tutorials ,and as a beginner this was the simplest and easiest to understand and it WORKED!! Saved me more hours of frustration!

  • @DKJohnDigital
    @DKJohnDigital 4 місяці тому

    I wasn't expecting it to be this easy. Thanks man ❤

  • @MOHAMMEDKHALANDER-g1c
    @MOHAMMEDKHALANDER-g1c 10 місяців тому

    No words for you sir ,
    I just fascinated by your lecture , hats off to you sir
    You are teaching in next level ,
    Thank you for such a great content sir
    Thank you so much for your efforts and explanation

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

    It's really cool. I have been searching this for several days.

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

    THanks so much for the video... You are one of the best TEACHERS, who know's exactly what to explain for a beginner like me! You are awessom SIR.

  • @ASPatel-ds9jt
    @ASPatel-ds9jt Рік тому

    This guy is so much sorted in terms of web development.......truly majestic

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

    The second div overlay made my day. Slight skip on wide screens, but great improvement, thank you.

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

    you are a legand man, you just made my day with this simple and efficient explanation, also thank you so so much for sharing the code, im no coder and trying to navigate my way building my website and you made me a massive help with this video and the code, thank you so much man, wish you and your family all the best 🙏🏻

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

    Wow! This tutorial is so awesome! The concept is explained precisely and clearly. Thanks!

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

    thank you so much even chatgpt couldn't offer such clean code

  • @bedtimehorrorstoryyoutube
    @bedtimehorrorstoryyoutube Рік тому +3

    Crystal clear! Loved it!

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

    That was exactly what I was looking for and you explained it so well. Thanks a lot!

  • @thehariskhan
    @thehariskhan Рік тому +3

    Amazing Robby! In one video you teach a lot of things

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

    Thank you so much for the video, I didnt find that well explained tutorial or video anywhere else.

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

    Got yourself a new subscriber. Great work!

  • @olaotitoheeb3068
    @olaotitoheeb3068 Рік тому +3

    You made it look super simple. Thank you!

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

    Thank you Robby. You are truly the man!

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

    Great video! Thanks for this, just what I was looking for.

  • @t.j.5574
    @t.j.5574 8 місяців тому

    Damn, you're a great programmer lol. You made that look so easy. Great teacher too.

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

    thanks Buddy, for the easy explanation....much love From KENYA🌎

  • @anirudh.s8518
    @anirudh.s8518 Рік тому

    Great work man, glad i got this on my recommended.

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

    Nice brilliant! Very well explained as well thank you, especially with the basic concepts, as i'm not a full-time coder , so I do tend to forget the basic things at times.

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

    Really great and simple, works like a charm! Thanks so much!!

  • @Checkmate-www
    @Checkmate-www 3 місяці тому

    thank you very much sir. didn't know it could've been this easy lol

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

    Precisely what I was looking for. Thank you!

  • @soumya_das527
    @soumya_das527 4 місяці тому

    In this video I got eveything , what i looking for few days. ThankYou 😁😁😁😁😍😍😍😍

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

    Thank you so much man! It took me two days, not animating but finding this tutorial 😅❤

  • @KevinGonzalez-fo6jt
    @KevinGonzalez-fo6jt Рік тому

    I Love this. And thank you for the detailed explanation 👍

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

    THANKS!, really what i ve been looking for :D

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

    Exactly what I'm looking for , tqsm robby 🎉

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

    Nice! Pretty straight forward CSS. Thank you. I’ll likely use that!

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

    OMG what an amazing video I loved it thank you

  • @7guitarlover
    @7guitarlover Рік тому

    Thank you so much ! This is exactly what i was exactly looking for. I helped me a ton =) Subscribed to show my token of appreciation

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

    Thank you. the video help me to solve the problem

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

    AWESOME work, man!

  • @PeterParker-u1n
    @PeterParker-u1n 6 місяців тому

    what a clean and clear explanation

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

    absolutely amazing :) saved so much time for me. many thanks!! :)

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

    Thanks a lot man, exactly what i was looking for!! cheers!

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

    thx so much for this video... its magnific, send a hug for devs on Brasil!😁

  • @JohnPauloFigueroa
    @JohnPauloFigueroa 3 місяці тому

    this is great! im going to try these so i can use it for my GHL landing page projects, i hope it is responsive when it comes to mobile view.

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

    The easiest great tutorial for begginers like me, thanks! 😄

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

    thank u sir you helped me with my deadline today! great video!

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

    my gosh what a code... this is an inspiring job... Super chingon!! Saludos desde Mx Mty

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

    This is the best so far🎉

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

    Thank you man simple and perfect

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

    You're the best and my life saver!

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

    This is really helpful! Thanks for your work :)

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

    loved the video. thanks for such crisp info

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

    This was very useful for my project. Thanks

  • @iamuzzalhossen
    @iamuzzalhossen 8 місяців тому

    You made it super easy! Thanks man

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

    This is great, thanks. To do another, underneath, to the right, just set to translateX(100%) and make .logos direction: rtl.

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

    That was amazing and super easy! Thank you!!!

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

    If anyone is having a problem where you have a lot of logos to cycle through and the width of each of the "logos-slide" divs are much larger than the viewport and overlapping on each other, adding a "width: max-content;" on the "logos-slide" class solved the problem for me.

  • @Мойникзанят-л5б
    @Мойникзанят-л5б 6 місяців тому

    Спасибо большое за помощь! ваше видео спасло мой дизайн:)

  • @ZahidShaikh-k7r
    @ZahidShaikh-k7r Рік тому

    amazing bruh keep up the good work

  • @dannybarrett395
    @dannybarrett395 11 днів тому

    Thanks so much for this!

  • @user-sd8iy7rq4k
    @user-sd8iy7rq4k Рік тому

    Thank you very much, just what I needed.

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

    my last logo BuzzFeed collides with the 3m of the second div, why is that so ? I put in the code in elementor

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

    You are great my friend, thank you very much!!! 🤯

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

    Amazing ❤ I love it

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

    thank you so much for this great explanation!

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

    Brilliant! Thank you!

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

    Exactly what I needed!

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

    Thanks man, really helpful!

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

    I have been struggling to do this, this tutorial made it so easy, thanks alot sir. Tho I have a little bit of problem, I tried to on hover and setting the animation play state to paused but it wasn't effective

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

    You just earned my subscription.

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

    thanks man i copied the resources you had provided and everything came out clean on my page

  • @alexbvaio
    @alexbvaio День тому

    Kudos! Great stuff! One question: I also added a drag feature: unforunately when dragging close to last div end from one side to another it does not loop inifitely. Can you make this work?
    A solution I have thought would be to limit the drag...

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

    You're a gem!

  • @farukweb
    @farukweb 3 місяці тому

    Nice logo scrolling..........Great

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

    Great content, thank you Robby!

  • @imdharmeesh.29
    @imdharmeesh.29 Рік тому

    Great video bro!

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

    Helpful. Thanks for this video.

  • @ShahloBahodirova
    @ShahloBahodirova 2 місяці тому +1

    Robby thank you very mach very very very very very very help me

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

    Exactly what I needed!!! thanks

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

    Very awesome tutorial, Thanks !!

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

    You helped me a lot, thanks!

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

    Thank you! Great video!

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

    So is a good video tutorial, I like it so much. Thanks to you

  • @xyz-xc1qu
    @xyz-xc1qu Рік тому

    Thanks for this useful tutorial!

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

    thank you very much Robby

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

    I'm loving the look of my new logo scroll on my site! Me and a few others who have looked at my site are feeling the urge to have control by swiping instead of just pausing. Would you be able to make a demo adding a swipe feature, ideally that works with a click on desktop and touch on mobile?
    *fingers crossed*

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

    thanks a lot, that was really helpful !

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

    Thank you very much. This was very helpful.💯