Auto Image Slideshow using HTML and CSS

  Рет қаралды 326,953

Code Instinct

Code Instinct

5 жыл бұрын

*Source Code is In the Description!
This video is about how to create auto image slider ( image slideshow ) using only html and css
*Full Project : www.patreon.com/posts/auto-im...
Source Code Only : tutorials-warehouse.blogspot....
------------------------------------------------------
• Visit Our Social Media:
- Instagram : / codeinstinctofficial
- Facebook (New): / code-instinct-10845813...
----- -------- ------- -------- -------- ------- -------
- Code Editor: Visual Studio Code
- Recorded with : NVIDIA Shadowplay
----- -------- ------- -------- -------- ------- -------
• Music Info:
Music: Gravity by extenz
/ extenz
Video Link: • Video
License: creativecommons.org/licenses/...
------ -------- --------- --------- -------- ---------
Video Created By: R.Y Baskara

Пікірлер: 161
@Vichion
@Vichion 4 жыл бұрын
To add more pics to the slideshow, add +1200px width to .slide-images for every picture and change the slide_animation percentage values around so you have -1200 per image. pic nr 4 will be placed at -1200px and needs 4800 slide-images width and 5 will be placed at -2400px and needs 6000 slide-images width and so on! Good luck to all website creators!
@Miguel-ey2uv
@Miguel-ey2uv 3 жыл бұрын
I need help bro For example if i want to add 5 images?
@nocrune3190
@nocrune3190 3 жыл бұрын
so i must change all the percent into -1200 or minus -1200 to the all percent
@nohael-hindy8972
@nohael-hindy8972 3 жыл бұрын
very helpful, thank you
@manthan7535
@manthan7535 2 жыл бұрын
Where is the slide animation percentage?
@Vichion
@Vichion 2 жыл бұрын
@@manthan7535 3:48 in video :)
@asifhossain2088
@asifhossain2088 3 жыл бұрын
I needed it , that's why I am here. thanks!!
@harshitsachan5161
@harshitsachan5161 3 жыл бұрын
Really it works 100%, you are amazing...
@user-gk6zj1kh1r
@user-gk6zj1kh1r 4 жыл бұрын
amazing. You cant imagine how this helped me. Im learning CSS and HTML and i try to build a project with image slider, but i know nothing about javascript.. and showing that you can do this with animation CSS is just amazing.! great! thank you. I will copy your code to my reference folder and it will live there forever! Thanks P.s. great song
@ted2091
@ted2091 4 жыл бұрын
nicely done, thank you
@ronnie_alexx
@ronnie_alexx 3 жыл бұрын
Great job
@MinecraftAchievers
@MinecraftAchievers Жыл бұрын
Thank you so much this was sooooo helpful
@kiaranicki2345
@kiaranicki2345 4 жыл бұрын
My pixs is showing but my slide show ain't working i.e its not moving at all just the first picture showing in the background
@repalda4736
@repalda4736 2 жыл бұрын
your video caught my eyes!!!!
@aboutthebook5275
@aboutthebook5275 5 жыл бұрын
Your video are great, thank you.
@vikinikam7899
@vikinikam7899 3 жыл бұрын
whch application are used in this video
@nosoyjolvi437
@nosoyjolvi437 3 жыл бұрын
Nice! :D
@PasinduMadhumal
@PasinduMadhumal 3 жыл бұрын
Thanks bro
@NiltonOliv
@NiltonOliv 4 ай бұрын
Hello, how to build this effect at time 0:03, where the line runs from right to left and then becomes a vertical line showing the logo
@krulhelmi
@krulhelmi 2 жыл бұрын
how adjust the scale or size of the images
@PP-hy1rh
@PP-hy1rh 4 жыл бұрын
Wat is @webkit-keyframes?
@patriciodelacruziwadare8359
@patriciodelacruziwadare8359 3 жыл бұрын
I'm working with codepen. Do I need some kind of library?
@daviddarko-mensah9297
@daviddarko-mensah9297 6 ай бұрын
@webkit-keyframe is doing what, and what must i use same
@toufikahmed2892
@toufikahmed2892 2 жыл бұрын
Hi Sir, Slider cmd is not showing in my vs code, Pls help
@HardDharajiya
@HardDharajiya 5 жыл бұрын
Great very helpful bro🤘👑
@bruhvoh2710
@bruhvoh2710 2 жыл бұрын
Thanks it worked 🤲🏾💥but how can I align it with all the other content on the page ?!!
@MdSharifulhaq-ie2bv
@MdSharifulhaq-ie2bv Жыл бұрын
thaks boss
@MrWilderness3432
@MrWilderness3432 3 жыл бұрын
Can you help me? Why do my other photos won't show up?
@jaylerjackson
@jaylerjackson 2 жыл бұрын
Thanks
@catalystpubg1367
@catalystpubg1367 3 жыл бұрын
How to change the images to slide to right side what line have to change in that coding????
@travellerg5834
@travellerg5834 3 жыл бұрын
Hi, friend, yes, it is an add... Probably, if you publish your code as zip file it may be more safe.. hope to hear your response...
@jessicakorubo2807
@jessicakorubo2807 Жыл бұрын
My images kept stacking ontop each other. it only worked when i set the display of the slide-container to flex.
@rommeljohnsevilla7535
@rommeljohnsevilla7535 2 жыл бұрын
Tnx
@monam1671
@monam1671 2 жыл бұрын
Please add the codes in description
@ImperfectTuber
@ImperfectTuber Жыл бұрын
okay how do i link the photo with my own? every time i try it does not work
@teretoryr6491
@teretoryr6491 Жыл бұрын
Error:Also define the standard property 'animation-iteration-count' for compatibilitycss(vendorPrefix).What to do?
@tizygamer7688
@tizygamer7688 Жыл бұрын
me too
@trishcstr9266
@trishcstr9266 Жыл бұрын
There is no slideshow showing on mine only the images..may I know if how to fix it?
@UltimateSKGamer
@UltimateSKGamer 2 жыл бұрын
Not working I used 3 images and all the codes but it. Show only 1 img and it not sliding it is going up and down on scroll and also get over through my freeze header
@alvinaprastika1193
@alvinaprastika1193 5 жыл бұрын
❤❤❤❤❤
@umasaivigneshpeeta7890
@umasaivigneshpeeta7890 2 жыл бұрын
How to add videos instead of images in the same concept??
@whitesky8013
@whitesky8013 Жыл бұрын
Webkit keyframes is yellow its not working
@Tech_625
@Tech_625 4 ай бұрын
It works but caught error using webkit what to do
@wasimrajvlogs
@wasimrajvlogs 5 жыл бұрын
bro there is any rue all image must be same width and height ? when i try with different h X w images its working sliding but i cant view image perfectly
@CodeInstinct
@CodeInstinct 5 жыл бұрын
We suggest you put the images in the same widths and heights
@jerry9113
@jerry9113 3 жыл бұрын
dont working my -webkit-animation is underline and its not working. No animation , only show photo
@kezangdorji1993
@kezangdorji1993 2 жыл бұрын
Same here , I did same like that . I don’t know where is error. Please help us @admin.
@talhasiddiqui4780
@talhasiddiqui4780 Жыл бұрын
Guys instead of webkits try this @keyframes slide_animation{ 0%{left: 0px;} 10%{left: 0px;} 20%{left: 1200px;} 30%{left: 1200px;} 40%{left: 2400px;} 50%{left: 2400px;} 60%{left: 1200px;} 70%{left: 1200px;} 80%{left: 0px;} 90%{left: 0px;} 100%{left: 0px;} } .slide-images{ width: 3600px; height: 800px; margin: 0 0 0 -2400px; position: relative; animation-name: slide_animation; animation-duration: 33s; animation-iteration-count: infinite; animation-direction: alternate-reverse; animation-play-state: running; }
@mimsmimsmims
@mimsmimsmims Жыл бұрын
@@talhasiddiqui4780 You are a legend mate, this is the only solution that works in 2022!
@boasmasso
@boasmasso 4 ай бұрын
​@@talhasiddiqui4780 I am new on coding, can you please explain the theory behind this percentage and the pixels. I see 0 repeated many times. I really need to understand than I can do it myself. If someone could help... Thanks.
@yasserbouthirit7778
@yasserbouthirit7778 4 ай бұрын
dont try to understand the pixel or pourcentages just try them yourself , see what fits and whats not it only takes time good luck@@boasmasso
@tasiimdiliza
@tasiimdiliza 5 жыл бұрын
Ive really enjoy watch you videos. Glad you’re back. I was wondering if I could possibly become a student of you and learn. If you’re free.
@CodeInstinct
@CodeInstinct 5 жыл бұрын
hello there, thanks for visiting our channel. we are working on upcoming youtube projects. thank you for supporting our channel!! 👍
@tasiimdiliza
@tasiimdiliza 5 жыл бұрын
I will keep supporting thank you.
@coofciise2663
@coofciise2663 5 жыл бұрын
@@CodeInstinct gvhfg
@parthparikh9624
@parthparikh9624 4 жыл бұрын
This comment made me subscribe this channel
@roubinjamal4704
@roubinjamal4704 3 жыл бұрын
How i Can add toi Blocher?
@achillesadrianaban4196
@achillesadrianaban4196 2 жыл бұрын
can the pictures linked to a website? href?
@luca-qf5ni
@luca-qf5ni 3 жыл бұрын
And how a make it responsive? With a tool ore something? I used bootstrap and it's still not working? Does anyone know what the solution is? Tahts will be great. :)
@cerracerra9710
@cerracerra9710 5 жыл бұрын
😊
@user-kt5ut9ey8w
@user-kt5ut9ey8w 10 ай бұрын
My images aren't loading how to fix?
@thewhite_crow
@thewhite_crow Жыл бұрын
I made it same as you but I dont't see results: I tried on Chrome, brave ... I see only changed background. Ikd why it dosen't work.
@stevinprince8104
@stevinprince8104 4 жыл бұрын
Is it responsive..
@randymarsh627
@randymarsh627 11 ай бұрын
can I do this with text?
@jobedwardyakit9402
@jobedwardyakit9402 Жыл бұрын
its not even working. look in the video there is dark green underline at -webkit-keyframes and at .slide-images. isn't that error?
@josephshalangwa460
@josephshalangwa460 Жыл бұрын
Great video but it really needs some more explanation
@arifhussain5276
@arifhussain5276 2 жыл бұрын
please provide source code also
@rudraneelmandal4741
@rudraneelmandal4741 Жыл бұрын
Hey! I'm trying to implement it to my website. However, a problem is arising. When i scroll the page, the slideshow of images is going over my menu bar. Can you please tell me how to fix it?
@maxdifficulty8109
@maxdifficulty8109 Жыл бұрын
set Z-index valve to 999 for menu bar in css
@rudraneelmandal4741
@rudraneelmandal4741 Жыл бұрын
@@maxdifficulty8109 Thanks!
@Durandd5
@Durandd5 Жыл бұрын
is this working in 2022? Images don't move.
@Crazymcfeel
@Crazymcfeel 2 жыл бұрын
Very helpful
@mr.atharvchavan
@mr.atharvchavan 11 күн бұрын
Not working properly
@XbLMindGamez
@XbLMindGamez 2 жыл бұрын
What would the code be if I needed to hyperlink the images?
@prakashkoppurapu
@prakashkoppurapu 2 жыл бұрын
this provide link for the image
@D3athTrigger
@D3athTrigger 3 жыл бұрын
Doesn't work it only shows pics
@ea3884
@ea3884 4 жыл бұрын
What is wrong with the link to your source code. It's just an add
@richiesullivan9548
@richiesullivan9548 4 жыл бұрын
My Virus Checker blocked it as Malware. Check your machine for viruses.......!!!!!!!
@yashgupta7041
@yashgupta7041 2 жыл бұрын
can you give source code
@adriancaballerosantos5875
@adriancaballerosantos5875 3 жыл бұрын
only thing that bothers me is that the images when sliding they don't go together, theres a gap between images, anyone knows how to fix?
@djargen
@djargen 2 жыл бұрын
Use images that are at least 1200 px wide
@user-kt5ut9ey8w
@user-kt5ut9ey8w 10 ай бұрын
My images aren't loading
@princedestiny7546
@princedestiny7546 Жыл бұрын
can i get the source code..?
@anandrathod9180
@anandrathod9180 4 жыл бұрын
I used this code. I have more than 50 images, but only 5 images showing..what can i do ?
@ramkrushnhari9233
@ramkrushnhari9233 3 жыл бұрын
Will you please help me means what all application we required to download in our laptop
@ramkrushnhari9233
@ramkrushnhari9233 3 жыл бұрын
Please help
@evan.5967
@evan.5967 3 жыл бұрын
@@ramkrushnhari9233 stfu
@babysilkchicken4462
@babysilkchicken4462 Жыл бұрын
To add more pics to the slideshow, add +1200px width to .slide-images for every picture and change the slide_animation percentage values around so you have -1200 per image. pic nr 4 will be placed at -1200px and needs 4800 slide-images width and 5 will be placed at -2400px and needs 6000 slide-images width and so on! from the pined comment
@ryanmugz4644
@ryanmugz4644 17 күн бұрын
Not understanding what is happening
@rommeltolete6304
@rommeltolete6304 3 жыл бұрын
What code editor are you using?
@xtremer6557
@xtremer6557 3 жыл бұрын
Its Visual Studio Code
@tenasialuberg2835
@tenasialuberg2835 3 жыл бұрын
hi, how can you make it responsive?
@luca-qf5ni
@luca-qf5ni 3 жыл бұрын
Did you get it? Maybe? I don't check it, can you help me out if you have it?
@akhilshivnani7701
@akhilshivnani7701 2 жыл бұрын
Source code?
@aarabhyarajan2389
@aarabhyarajan2389 3 жыл бұрын
6:00
@shivampuri6568
@shivampuri6568 Жыл бұрын
Your Vs theme name?
@bikrantjungbudhathoki3687
@bikrantjungbudhathoki3687 3 жыл бұрын
source code?
@nyblenproductions5166
@nyblenproductions5166 5 жыл бұрын
hello, i used 6 images and only 3 appear in the animation. Also the slideshow is kinda to the right so there is an horizontal scroll bar. Do I have to use smaller images?
@evan.5967
@evan.5967 3 жыл бұрын
Or you can adjust the width.
@evan.5967
@evan.5967 3 жыл бұрын
And do overflow attribute in CSS
@evan.5967
@evan.5967 3 жыл бұрын
And Margin
@rkmugen
@rkmugen 3 жыл бұрын
Can you do this without having to declare each image in the code? I've been looking for a way to do something like this, but have the code point to a folder/directory where I store all my images, and all I have to do is load the folder with all the images I want to display. At the same time, I want the image to be scaled up or down automatically to fill the entire browser window, even if the user stretches or re-sizes the window. I've been looking for a way to set this up so that I can have this serve as an 'intermission' screen in OBS, whenever I stream myself playing a game. As I play the game, I would take screenshots of my game...... and I was hoping to be able to dynamically feed those images into the background of my page (hosted locally) to serve as background images with a blur applied to them, whenever the code progresses to each consecutive image. The foreground I currently have is just a large form/text box that will allow me to either type out my commentary, or just a way for me to indicate to my viewers that I'm AFK. I even have a pure CSS timer, below that box to show exactly how long I've been away.
@FunkafiedBandit
@FunkafiedBandit 3 жыл бұрын
You're going to need to use either JavaScript or a framework like Bootstrap, Foundation or Bulma. Can't with just HTML and CSS unfortunately.
@martinibomb
@martinibomb 2 жыл бұрын
use js
@bowerbirdlab464
@bowerbirdlab464 3 жыл бұрын
can you please tell how to resize it such that the length occupies whole screen
@someoneees
@someoneees 3 жыл бұрын
Use the width, height on css?
@someoneees
@someoneees 3 жыл бұрын
Use the width, height on css?
@023__yashchaudhary9
@023__yashchaudhary9 2 жыл бұрын
@@someoneees yup
@lcerdevelopment
@lcerdevelopment 2 жыл бұрын
It goes way to fast to type side by side.
@markstevenesteves9504
@markstevenesteves9504 2 жыл бұрын
what is webkit ? How to download it?please give me a link
@talhasiddiqui4780
@talhasiddiqui4780 Жыл бұрын
instead of webkits try this @keyframes slide_animation{ 0%{left: 0px;} 10%{left: 0px;} 20%{left: 1200px;} 30%{left: 1200px;} 40%{left: 2400px;} 50%{left: 2400px;} 60%{left: 1200px;} 70%{left: 1200px;} 80%{left: 0px;} 90%{left: 0px;} 100%{left: 0px;} } .slide-images{ width: 3600px; height: 800px; margin: 0 0 0 -2400px; position: relative; animation-name: slide_animation; animation-duration: 33s; animation-iteration-count: infinite; animation-direction: alternate-reverse; animation-play-state: running; }
@jerrodgraham5970
@jerrodgraham5970 Жыл бұрын
No longer works in 2022. I followed this tutorial verbatim, but my photos stay still
@jgappy
@jgappy Жыл бұрын
Eh?!
@jonatanmsanchez
@jonatanmsanchez Жыл бұрын
It didn't work for me at all
@QuranVerse_Channel7373
@QuranVerse_Channel7373 Жыл бұрын
Bro it's not working
@MontyEditz
@MontyEditz 2 жыл бұрын
it didnt work for me. do i need any Source code like webkit keyframes etc?
@talhasiddiqui4780
@talhasiddiqui4780 Жыл бұрын
instead of webkit try this @keyframes slide_animation{ 0%{left: 0px;} 10%{left: 0px;} 20%{left: 1200px;} 30%{left: 1200px;} 40%{left: 2400px;} 50%{left: 2400px;} 60%{left: 1200px;} 70%{left: 1200px;} 80%{left: 0px;} 90%{left: 0px;} 100%{left: 0px;} } .slide-images{ width: 3600px; height: 800px; margin: 0 0 0 -2400px; position: relative; animation-name: slide_animation; animation-duration: 33s; animation-iteration-count: infinite; animation-direction: alternate-reverse; animation-play-state: running; }
@MontyEditz
@MontyEditz Жыл бұрын
@@talhasiddiqui4780 lol thx for replying amd helping but I don't even know if I am gonna use this now 😅 but thx anyway 😀
@talhasiddiqui4780
@talhasiddiqui4780 Жыл бұрын
@@MontyEditz 😁😁😅😅
@sajidakhan9866
@sajidakhan9866 Жыл бұрын
it's not working
@verontetteh-nortey3616
@verontetteh-nortey3616 2 жыл бұрын
I'm having some difficulties here
@sadiqBD
@sadiqBD 3 жыл бұрын
float does't working
@evan.5967
@evan.5967 3 жыл бұрын
exaplain more
@distra_oce1360
@distra_oce1360 5 жыл бұрын
why isn't it working, the images arent popping up and the css works fine.
@distra_oce1360
@distra_oce1360 5 жыл бұрын
and when i remove the css the images pop up
@evan.5967
@evan.5967 3 жыл бұрын
@@distra_oce1360 hey, how may I help?
@aminaamrouche3236
@aminaamrouche3236 5 жыл бұрын
the background is repeating any way :'(
@zedzed1091
@zedzed1091 4 жыл бұрын
You can do background: no-repeat;
@evan.5967
@evan.5967 3 жыл бұрын
hey you can do background:no-repeat;
@thosinduwijesuriya9790
@thosinduwijesuriya9790 3 жыл бұрын
how many images can we add to our slide show????????????????
@ChengZe
@ChengZe 4 жыл бұрын
the slide is too large, can;t even fit my website screen
@evan.5967
@evan.5967 3 жыл бұрын
well he's not going to do everything for you smh 😹 you have to apply your own logic
@judyannpunzalan7535
@judyannpunzalan7535 4 жыл бұрын
How can I add more images in my slide ?
@squareadventuretv6882
@squareadventuretv6882 4 жыл бұрын
please answer this question , i have the same problem
@Vichion
@Vichion 4 жыл бұрын
i need an answer to this!!
@Vichion
@Vichion 4 жыл бұрын
To add more pics to the slideshow, add +1200px width to .slide-images for every picture and change the slide_animation percentage values around so you have -1200 per image. pic nr 4 will be placed at -1200px and needs 4800 slide-images width and 5 will be placed at -2400px and needs 6000 slide-images width and so on!
@Vichion
@Vichion 4 жыл бұрын
@@squareadventuretv6882 To add more pics to the slideshow, add +1200px width to .slide-images for every picture and change the slide_animation percentage values around so you have -1200 per image. pic nr 4 will be placed at -1200px and needs 4800 slide-images width and 5 will be placed at -2400px and needs 6000 slide-images width and so on!
@TheIntroFX
@TheIntroFX 4 жыл бұрын
@@Vichion What do you mean with the slide_animation percentages to -1200px. It runs from 0% to 100% with its respective pixel counts. So which ones do i change? I want to have a total of 5 images.
Auto Image Slideshow using HTML and CSS
9:51
Ranjan-Beginner's Guide
Рет қаралды 19 М.
Pure CSS Image Slider  Using Only HTML & CSS
7:39
Deltaty Code
Рет қаралды 167 М.
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 11 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 35 МЛН
Image Rotator using Html and CSS 3 - Website Design
7:28
Code With Random
Рет қаралды 77 М.
Subtle, yet Beautiful Scroll Animations
5:04
Beyond Fireship
Рет қаралды 1,6 МЛН
Responsive Slider Using HTML & CSS Only
10:34
Anna Blok — Frontend Tutorial
Рет қаралды 235 М.
Simple HTML & CSS Image Slider - No jQuery or JavaScript
8:37
How To Create An Image Slider In HTML, CSS & Javascript
24:42
developedbyed
Рет қаралды 476 М.
Create a horizontal media scroller with CSS
26:13
Kevin Powell
Рет қаралды 283 М.
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 11 МЛН