How To Make An Infinite Autoplay Slider

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 151

  • @benjybarkes9430
    @benjybarkes9430 2 роки тому +19

    This is brilliant. I've spent the whole day trying various solutions in different videos and none of them are as simple and as easy to implement as this. Many many thanks.

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

    Thank you so much, i was really looking for this and couldn't find any content on the topic seeming like a common feature.

  • @empiregaming3675
    @empiregaming3675 2 роки тому +1

    I am searchig from 3 days and finally got it
    Thanks bro

  • @abhikb
    @abhikb 3 роки тому +7

    Man You are just awesome 🙏 , this video just cleared my doubts and helped me a lot .
    I subscribed to your channel , I am sure you will make amazing content in the future

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

    Thank you alot. This really helped me. I have been looking for a solution for some while now but none of them quite explained it as well as you did. Thank you

  • @umutcoskun4247
    @umutcoskun4247 2 роки тому +2

    Wow, this really worked like a charm!

  • @tristanrd3398
    @tristanrd3398 3 роки тому

    thank you man you save my day ! keep the good works, congratulations from france

  • @MW-TR
    @MW-TR Рік тому

    This was a huge help, thank you!

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

    short & great multi image slider video

  • @unabrella
    @unabrella 2 роки тому

    thanks for this! super easy to follow along, keep it up!

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

    thanks alot, this was exactly what i needed

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

    You are brilliant. Your tutorial helped me so much and I really appreciate your work. Keep up creating great videos like this! 👏👏

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

    Incisive explanation.
    Great video!
    Thanks for the video!

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

    it helped me a lot, thanks bro

  • @trendpulse-g5
    @trendpulse-g5 2 роки тому

    Awesome tutorial! Loved it.. It was really helpful.

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

    Very well done! I would just want to add that you should add the first image on top of the duplicated, because the image might take a bit to load

  • @LidyaSimon-x9p
    @LidyaSimon-x9p 2 місяці тому

    Thank you so much, it helped me a lot 👏

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

    thanku so much for givin this video
    it is very simple and easily we can understand

  • @DQuranJar
    @DQuranJar 3 роки тому +8

    Hello! thank you for this..
    quick question, when it reaches the last image, will the first image moved to the next of the last image?

    • @YxK112
      @YxK112 Рік тому +4

      that's also my question . it's not infinite

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

    Thank you for the Simple code and effective. But the images are not repeated. Is there any modification possible, so images will be infinite?

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

      Change the timing of of the transform animation; the part that comes after the * in the translateX(calc...etc. I made mine a little longer and synced it so that the second cycle matched the 1st cycle of photos when it reset.

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

    Brilliant! It works like a charm

  • @vinijill1622
    @vinijill1622 3 роки тому +2

    Thank you so much! It works beautifully... You're amazing... Hope to see more contents soon...

    • @ayushgupta2537
      @ayushgupta2537 3 роки тому

      is there a way,so that user could scroll left and right too?

    • @wassiham4234
      @wassiham4234 2 роки тому

      Hi, can you send me the code, mine don't work !!!

  • @albertawuah53
    @albertawuah53 3 роки тому +24

    The HTML code is not clear. Would you mind sharing the code file for download?

    • @MagicalTalesTV001
      @MagicalTalesTV001 5 місяців тому +4

      Kindly go to settings on UA-cam and go to advance and select 1080px then go back to your video and enjoy this blessed animation video. God bless the coder

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

      @@MagicalTalesTV001 🤣🤣

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

    That's greate! Love this work. Thank you so much

  • @evaniveson
    @evaniveson 3 роки тому +1

    Great solution! Love the code without JS!

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

    Awesome video! Subscribed!

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

    thank you, it was really helpful.

  • @calibbt5656
    @calibbt5656 2 роки тому +1

    Awesome! Thank you for sharing.

  • @TechyTro
    @TechyTro 2 роки тому +1

    Your video as helped me a lot to solve what I seek for, thanks for it

    • @LiveLifefact
      @LiveLifefact 2 роки тому +1

      Bro , can you help me in this code ? My code is not working properly

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

    Brillant, thanks for instruction !!

  • @marioc485
    @marioc485 2 роки тому +1

    Great Video! thank you 🥰

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

    THANK YOU!!!!

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

    Thanks ! It's a great solution !

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

    You are my life saver!

  • @devinwinando5651
    @devinwinando5651 3 роки тому

    Thank you so much bro, I was stucked making these thing, I though it was using js

  • @micayokpon6706
    @micayokpon6706 2 роки тому

    Awesome tutorial

  • @lucasareco9338
    @lucasareco9338 2 роки тому +1

    Awesome tutorial my friend! Thank you for sharing all your knowledge with us. I have a simple question, what is the name of the background song?

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

    thank youuuu sooo muuch it wasss sooo helpfulllllll :))))))

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

    Awsome!!! thank you so much ❤❤❤

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

    You're the Man!

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

    Thank you helped alot!

  • @justaguywholikeshentai9019
    @justaguywholikeshentai9019 2 роки тому

    this is wonderful , ty love

  • @UshaC-et8ce
    @UshaC-et8ce Рік тому

    Hello!
    This is simple and easy to understand.
    Please share the code because it is not too much of visible actually.

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

      Kindly go to settings on UA-cam and go to advance and select 1080px then go back to your video and enjoy this blessed animation video. God bless the coder

  • @kathreena
    @kathreena 3 роки тому

    hi, i wanna add this in the middle of my website.. may i know what should i change the to? .. hope u could help 🙏🏻🥺

  • @Unknownlady-p7p
    @Unknownlady-p7p 4 місяці тому

    Very useful video❤

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

    What will i do if the images are not of same width??

  • @evolution6247
    @evolution6247 2 роки тому +1

    Hey The Mute Dev :)
    I really like this tutorial and wondered if it is possible to add one specific thing: to turn the pictures into links so u can click them and get to a nother website, but the rest stays the same?

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

      I think you can add the specific into another div, and just put a href on that image?

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

      Simple i did that in my project just put the image tag inside the linking tag... eg.

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

      @@Vinomillz Thanks a lot!! :)

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

    it,s just amazing bro 👍👌

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

    Hi danke fürs Video. Ist es möglich das die nächste Runde gleich hinter dem Ende beginnt?

  • @svarshithkumar3847
    @svarshithkumar3847 9 місяців тому +1

    for shadows we can use mask property right ?

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

    Nice video short and sweet

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

    La animación se vuelve brusca cuando termina y vuelve a empezar porque el navegador tiene que "saltar" de la posición final de la animación (translateX(-100%)) a la posición inicial (translateX(0)) de golpe.
    Una forma de suavizar esta transición es utilizando la función animation-direction y estableciendo su valor en alternate. De esta manera, la animación se invertirá cuando llegue al final y volverá a empezar en la dirección opuesta, lo que creará un efecto de "rebote" más suave:
    .slide-track {
    display: flex;
    width: calc(250px * 28);
    animation: 50s slides linear infinite alternate;
    }
    @keyframes slides {
    0% {
    transform: translateX(0);
    }
    100% {
    transform: translateX(-100%);
    }
    }
    by: Blackboxai

  • @chillywilly314
    @chillywilly314 2 роки тому

    this worked awesome!

  • @akessewilfriedkouame331
    @akessewilfriedkouame331 2 роки тому

    Man are you just formidable😇

  • @ernndsrs4327
    @ernndsrs4327 2 роки тому +3

    Apenas CSS! Simples, fácil mas perfeito demais!!! 👏👏👏

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

    It went too fast for me, do you have the html and css files I can get from maybe github? Also if you want to have right and left arrow buttons on the right and left so user can slide themselves along with the animation that would help.

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

      You see the place he added overflow: hidden; don't put it and you should have what you're looking for. Or just add overflow X to the main div and see m

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

    Hi! This loops really cool! I want this but from top to bottom. How do I do this?

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

    hey! Nice video.

  • @13.5coder2
    @13.5coder2 3 роки тому

    Thank you so much bro :- )

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

    But i want first image exiting from left of the screen should enter from right side immediately while other images should still keep moving a they were doing.

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

      Calculate the timing in seconds using keyframe

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

    wow, thank you for this video man, I love it, please Is there a source code for the tutorial

  • @motivationforlife123
    @motivationforlife123 3 роки тому

    On hover effect only one slide or image is getting pause other are moving plz help me out?

  • @uzma8511
    @uzma8511 2 роки тому

    This is brilliant. Any tips on what the code needs to look like if we want to create another slider just below this one? Tried giving the first and second sliders and id but no matter what I do, the second slider does not populate

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

    Thanks for the video! My animation is not scrolling automatically, sjust stands still. In Chrome I used webkit for both animationa and @keyframes but still nothing. Anyone knows the answer?

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

    I re typing your html code but it doesn't work, i barely using xampp but still doesn't work, i use vscode app i scan the error, nothing error notification

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

    Hey friend and if I want it to start again once it reaches the end and never finished??

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

      Set something like: e.g
      Animation: autoRun 10s linear infinite;
      Add to your parent div and you're good to go

  • @teddie9255
    @teddie9255 2 роки тому +3

    Do you have the code for this posted anywhere?

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

    How does the carousel stop on hovering image?

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

    Thank you so much !!!

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

    first image is not hovering animation for some reason help

  • @cledeniroliveira3624
    @cledeniroliveira3624 2 роки тому

    Excellent video. How do I assign this style only to the slider images, I added this code on my website and it keeps changing all the other images as well besides the ones on the slider. Doing as you did in a new file works, the problem is when you add the code to a site, where it contains several other images, this problem occurs. Can someone help me? Thanks

    • @tjray3403
      @tjray3403 2 роки тому

      put .slider then img ex. ".slider img {} "

  • @omnomnom1323
    @omnomnom1323 3 роки тому +1

    how about to add your examples to codepen etc?=)

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

    Thanks bro ❤❤

  • @priscilacs
    @priscilacs 3 роки тому

    awesome 👏👏🙌

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

    What happens when last image shows up!???

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

    can we do this for end continue next slider

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

    what is the code to move from left to right

  • @alirezamoradi-bt3hk
    @alirezamoradi-bt3hk 10 місяців тому

    thanks man

  • @harbanisharma9744
    @harbanisharma9744 3 роки тому +2

    please give the source code

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

    Ok, but it's not infinite. It doesn't repeat the whole row again

  • @hashmiphool
    @hashmiphool 3 роки тому

    Sir( background-image:) esmy slide k liye gallery ki pics kecy save kiye jayn gi

  • @BelS-u3v
    @BelS-u3v Рік тому

    for some reason i can't seem to make it work

  • @gurmeetrehala1164
    @gurmeetrehala1164 2 роки тому

    how to move scroll in right direction please help

  • @suavemg3089
    @suavemg3089 2 роки тому

    GOAT

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

    is this loop animation?

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

    helpful 🤗🤗

  • @حذيفةأحمد
    @حذيفةأحمد 6 місяців тому

    جزاك الله خيرا

  • @upboy7869.
    @upboy7869. 2 роки тому

    Eska coding kya hai please bataiye na please 🙏🙏🙏🙏

  • @ankitasapra5219
    @ankitasapra5219 2 роки тому

    Thanks !

  • @madhvi1501
    @madhvi1501 2 роки тому

    Is it responsive?

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

    can you provide me the git link forthis

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

    my slide is not infinite :c

  • @NoumanIjaz-o5c
    @NoumanIjaz-o5c 5 місяців тому

    Can uh Plaese Give Code also?

  • @HangugoSupporter
    @HangugoSupporter 3 роки тому

    hello sir in this video very best, can you give source code please

  • @Nandibabudotcomofficial
    @Nandibabudotcomofficial 2 роки тому

    How to get this code ?

  • @miguelsousa483
    @miguelsousa483 3 роки тому

    Awesome

  • @Naresh-dev-angular-dotnet
    @Naresh-dev-angular-dotnet 2 роки тому

    helpful!

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

    Thanks

  • @ebouchristellenebie6145
    @ebouchristellenebie6145 3 роки тому +2

    bonjour! bonne compréhension de chaque étape et l’essentiel en avant et c est juste waouh. merci pour la vidéo je m abonne a ta chaine

  • @userj-s2000
    @userj-s2000 Рік тому

    Legit tut