Creating an infinite logo carousel with pure CSS

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

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

  • @firstbloodfangy6933
    @firstbloodfangy6933 Год назад +26

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

  • @grabthisinfo1799
    @grabthisinfo1799 10 месяцев назад +4

    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 9 месяцев назад +1

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

    • @ZakariaTEKNIS-gg4xf
      @ZakariaTEKNIS-gg4xf 6 месяцев назад

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

    • @gamersgame43
      @gamersgame43 21 день назад +1

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

  • @nunolopes8263
    @nunolopes8263 8 месяцев назад +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 10 месяцев назад +7

    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 3 месяца назад

      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 25 дней назад

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

    • @crim-son
      @crim-son 25 дней назад

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

    • @natoservice3250
      @natoservice3250 25 дней назад

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

  • @TheJokzer
    @TheJokzer 11 месяцев назад +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

  • @kosceeanason5910
    @kosceeanason5910 5 месяцев назад +1

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

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

  •  7 месяцев назад +1

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

  • @thegreatkeljb
    @thegreatkeljb Год назад +7

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

  • @sinhhungg7967
    @sinhhungg7967 3 месяца назад

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

  • @ASPatel-ds9jt
    @ASPatel-ds9jt Год назад

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

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

  • @MOHAMMEDKHALANDER-g1c
    @MOHAMMEDKHALANDER-g1c 7 месяцев назад

    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

  • @gibbardwebdesign
    @gibbardwebdesign 5 месяцев назад

    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 ;)

  • @davemiller302
    @davemiller302 Год назад

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

  • @bedtimehorrorstoryyoutube
    @bedtimehorrorstoryyoutube Год назад +3

    Crystal clear! Loved it!

  • @DKJohnDigital
    @DKJohnDigital Месяц назад

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

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

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

    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.

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

  • @nifuroxcazidnifuroxcazid6044
    @nifuroxcazidnifuroxcazid6044 3 месяца назад

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

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

    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 🙏🏻

  • @olaotitoheeb3068
    @olaotitoheeb3068 Год назад +3

    You made it look super simple. Thank you!

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

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

  • @patricksweet4104
    @patricksweet4104 Год назад +1

    Thank you Robby. You are truly the man!

  • @thehariskhan
    @thehariskhan Год назад +3

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

  • @Ericpricing
    @Ericpricing Год назад

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

  • @willianbraz1987
    @willianbraz1987 Год назад +1

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

  • @soumya_das527
    @soumya_das527 Месяц назад

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

  • @t.j.5574
    @t.j.5574 6 месяцев назад

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

  • @PeterParker-u1n
    @PeterParker-u1n 4 месяца назад

    what a clean and clear explanation

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

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

  • @Checkmate-www
    @Checkmate-www Месяц назад

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

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

  • @anirudh.s8518
    @anirudh.s8518 Год назад

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

  • @janemig
    @janemig Год назад +1

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

  • @gabrielorofino3527
    @gabrielorofino3527 Год назад

    Precisely what I was looking for. Thank you!

  • @PilatesinSacramento
    @PilatesinSacramento Год назад

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

  • @DailyTuition
    @DailyTuition 7 дней назад

    Thank you. the video help me to solve the problem

  • @yaregobrozek3725
    @yaregobrozek3725 Год назад

    AWESOME work, man!

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

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

  • @travellingpakistan2348
    @travellingpakistan2348 11 месяцев назад

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

  • @ShahloBahodirova
    @ShahloBahodirova 6 дней назад +1

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

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

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

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

    Thank you man simple and perfect

  • @balaganeshsk4340
    @balaganeshsk4340 10 месяцев назад

    Exactly what I'm looking for , tqsm robby 🎉

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

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

  • @lovindigital
    @lovindigital 6 месяцев назад

    You're the best and my life saver!

  • @christopherbergstrom1053
    @christopherbergstrom1053 9 дней назад

    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.

  • @KevinGonzalez-fo6jt
    @KevinGonzalez-fo6jt 9 месяцев назад

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

  • @ThronusGuild
    @ThronusGuild Год назад

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

  • @Мойникзанят-л5б
    @Мойникзанят-л5б 3 месяца назад

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

  • @veramay8739
    @veramay8739 3 месяца назад

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

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

    Brilliant! Thank you!

  • @iamuzzalhossen
    @iamuzzalhossen 5 месяцев назад

    You made it super easy! Thanks man

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

    loved the video. thanks for such crisp info

  • @benjaminnkem
    @benjaminnkem 11 месяцев назад

    Exactly what I needed!

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

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

  • @udorblessing
    @udorblessing 6 месяцев назад

    This was very useful for my project. Thanks

  • @vincenzocristiano135
    @vincenzocristiano135 10 месяцев назад

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

  • @gtry1966
    @gtry1966 Год назад

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

  • @mikesalinas6245
    @mikesalinas6245 6 месяцев назад

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

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

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

  • @farukweb
    @farukweb Месяц назад

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

  • @turanpehlivan1
    @turanpehlivan1 Год назад +14

    A couple of issues to mention, my carousel dos not run as smoothly as yours, e.g., 1 - it jumps after it completes the loop, 2 - the fade in and out works when the position is relative but fade in from right disappears when I change position to fixed or absolute to re-position the carousel to the bottom of the page. Any feedback is appreciated.

    • @alvarbuenfil7557
      @alvarbuenfil7557 11 месяцев назад +1

      If you delete the script and duplicate the "logo-slide" div you solve the problem

    • @firemasterleo
      @firemasterleo 11 месяцев назад +3

      hey i know exactly the issue you are having, what you can do is this, you have duplicated the inner scroller, good, now mess around with the @keyframes slide from transform: translateX(%);
      }, mess adjust the percentage so that it starts exactly from where your second innerscroll will be, i hope that makes sense , instead of 0%, you can adjust it to 20% or whatever until its seamless

    • @herlocksholmes-uv5qw
      @herlocksholmes-uv5qw 11 месяцев назад

      @@firemasterleo I really don't understand what you mean by duplicating the inner scroller, what is it?

    • @herlocksholmes-uv5qw
      @herlocksholmes-uv5qw 11 месяцев назад

      ​@@alvarbuenfil7557 It worked for me, thanks for the idea! 😊

    • @firemasterleo
      @firemasterleo 11 месяцев назад +2

      @@herlocksholmes-uv5qw in your html, there is parent container and there is the child, the child is the one that translates right, so what i mean is duplicate the child, and mess with the( @keyframe from % ), until the first child is looping exactly from where the second child will be ,

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

    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*

  • @streetsofafrica8445
    @streetsofafrica8445 6 месяцев назад

    You're a gem!

  • @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 5 месяцев назад

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

  • @JohnPauloFigueroa
    @JohnPauloFigueroa 17 дней назад

    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.

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

    thank you so much for this great explanation!

  • @ekomukanga893
    @ekomukanga893 Год назад

    You just earned my subscription.

  • @dhruvminimal
    @dhruvminimal 6 месяцев назад

    Helpful. Thanks for this video.

  • @RajatKumarJain-yb8fo
    @RajatKumarJain-yb8fo 9 месяцев назад

    Thanks for this superb content.Have you made a video where content scroll vertically and that to with dynamic data?

  • @samuelhuang4324
    @samuelhuang4324 Год назад

    Great content, thank you Robby!

  • @user-sd8iy7rq4k
    @user-sd8iy7rq4k Год назад

    Thank you very much, just what I needed.

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

    Exactly what I needed!!! thanks

  • @ZahidShaikh-k7r
    @ZahidShaikh-k7r Год назад

    amazing bruh keep up the good work

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

    Great video! I wonder if its possible to do it vertically.

  • @quangminhtran9968
    @quangminhtran9968 Год назад

    Very awesome tutorial, Thanks !!

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

    Thanks man, really helpful!

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

    Thank you! Great video!

  • @cathylim2113
    @cathylim2113 11 месяцев назад

    This is really helpful! Thanks for your work :)

  • @BrentHouston-le4yl
    @BrentHouston-le4yl 6 месяцев назад

    Great, video! Does this work with different viewport widths?

  • @Sergio-tq5wj
    @Sergio-tq5wj Год назад

    Robby, thank you very much!. I am Sergio from Argentina 👍😊🇦🇷🇦🇷

  • @xyz-xc1qu
    @xyz-xc1qu Год назад

    Thanks for this useful tutorial!

  • @extremeswami
    @extremeswami Год назад

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

  • @imdharmeesh.29
    @imdharmeesh.29 10 месяцев назад

    Great video bro!

  • @jssecrets
    @jssecrets Год назад

    Thank you Robby 👍

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

    Thank you very much. Great Video

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

  • @captainsaleh3444
    @captainsaleh3444 Год назад

    thank you very much Robby

  • @yalepaweee9064
    @yalepaweee9064 6 месяцев назад

    Thank you, sir!

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

    You helped me a lot, thanks!

  • @MeltonECartes
    @MeltonECartes 6 месяцев назад

    Excellent!

  • @WencelausMaina
    @WencelausMaina Год назад

    Thank you very much. This was very helpful.💯

  • @Edwardtonnn
    @Edwardtonnn 5 месяцев назад

    Awesome!

  • @abellilo
    @abellilo 3 месяца назад

    Thank Robby

  • @cabmoitv4323
    @cabmoitv4323 Год назад

    Nice presentation, appreciate it. i just want to know what code about single logo scaled down while slide left while scrolling down?