Тёмный

Simple HTML & CSS Image Slider - No jQuery or JavaScript 

w3newbie
Подписаться 15 тыс.
Просмотров 167 тыс.
50% 1

➢Tutorial Files: m.w3newbie.com/w/tutorial-16.zip
➢Courses: w3newbie.com/courses/
➢Website Resources: w3newbie.com/resources/
Create A Responsive Image Slider - HTML5/CSS3 with No JavaScript
Popular Pure CSS Responsive Image Slider Tutorial:
• Pure CSS Responsive Im...

Опубликовано:

 

6 мар 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 115   
@dipendrabudhathoki2772
@dipendrabudhathoki2772 2 года назад
thank you so much brother. I watched more than 10 different videos just to learn how to add image slider in website, and here I find the best solution.
@shrikant124
@shrikant124 Год назад
Best tutorial I've ever seen. It works perfectly. Thank you!
@husamhabbal1419
@husamhabbal1419 3 года назад
that's really awesome, keep going with this nice short tutorials..
@markzait2750
@markzait2750 Год назад
This is a very good explanation. Thank you very much!
@anonymousgm6006
@anonymousgm6006 3 года назад
Because of you i made my first slider ever Thanks so much......
@topg_club009
@topg_club009 Год назад
Best tutorial I've ever seen without a doubt OG 🔥🔥🔥
@excelsus249
@excelsus249 6 месяцев назад
The tutorial I've been looking for, thx 😊
@andrewdesilva3401
@andrewdesilva3401 4 года назад
this is the best tutorial i ever seen so far from youtube about slideshows
@diptenusarkar1533
@diptenusarkar1533 4 года назад
Me also
@ramkrushnhari9233
@ramkrushnhari9233 3 года назад
Have you tried this in your pc
@andrewdesilva3401
@andrewdesilva3401 3 года назад
@@ramkrushnhari9233 yeah it worked
@ramkrushnhari9233
@ramkrushnhari9233 3 года назад
What all software we required for this slideshow in our pc
@andrewdesilva3401
@andrewdesilva3401 3 года назад
@@ramkrushnhari9233 you need a text editor or a ide to write the code. I used webstorm by jetbrains or you can use simple text editor like atom. Thats all u need. Once you write the code, save it and open with the browser. very easy.
@KelvinOmoluyi
@KelvinOmoluyi 20 дней назад
Thank you, I adore your ability to simplify it Well done 👍
@ildikoedit9110
@ildikoedit9110 2 года назад
It works perfectly. Thank you!!
@lonelyplanet5474
@lonelyplanet5474 3 года назад
thank you so much.. this is the best image slider tutorial.
@jhy241
@jhy241 3 года назад
This video is very useful! Thank you!
@mauricioroda2789
@mauricioroda2789 4 года назад
I find tis video very informative and well presented. New subscriber over here. Thanks for the great info.
@bunnylla8744
@bunnylla8744 2 года назад
OMFG!!! THANK YOU SOOOO MUCH!!!! I"ve watched multiple videos just to find out how to make a slide show and only yours worked for me Thank you thank you so much! I've been figuring how to do this for 3 days 🤧 I'm still new to this 😅
@omar.faryabi1094
@omar.faryabi1094 Год назад
thank you so much the best tutorial I've ever seen.
@maissacontreras5843
@maissacontreras5843 4 года назад
i love your video, thank u so much i really need this tutorial :3
@bhuwansubedi3590
@bhuwansubedi3590 3 года назад
Helped me a lot! Thanks a lot
@spaceraccoon9032
@spaceraccoon9032 11 месяцев назад
Amazing tutorial this helped me so much 😊
@jeeptoyota5071
@jeeptoyota5071 2 года назад
this is fantastic, but i was wondering how to change the size of the images on screen?
@limitless003
@limitless003 Год назад
Bro , thanks it works 100% with me . I will subscribe because this .
@4loverhyme
@4loverhyme 5 лет назад
... how does one add more than just four images and what percentages would have to change?
@vethumdasanayaka6274
@vethumdasanayaka6274 2 года назад
Thank You Verry Much Sir !! It Works !!
@heyt0pe
@heyt0pe 4 года назад
Thank you so much for this
@goudemarc6488
@goudemarc6488 Год назад
Thank you so much for this video it's great
@dawmar5
@dawmar5 Год назад
Very helpful thank you for this video
@brunoalmeida6633
@brunoalmeida6633 3 года назад
Thanks so much from Lisbon :)
@YamiKeizerLeon
@YamiKeizerLeon 4 месяца назад
Great Video! Thanks~
@muyanjamartin658
@muyanjamartin658 11 месяцев назад
Thanks it really worked out
@diptenusarkar1533
@diptenusarkar1533 4 года назад
Amazing Sir It's Really Good Thank You Sir
@tonylittlefield7402
@tonylittlefield7402 4 года назад
We're you able to get the code to work?
@draganareljic4440
@draganareljic4440 Год назад
could you, please, explain the negative percentage in @keyframes? Thank you!
@lekhareddylekhareddy9577
@lekhareddylekhareddy9577 Год назад
Thank you very much it helped me alott
@therufus5195
@therufus5195 3 года назад
Super helpful 👍
@ninjara
@ninjara 4 года назад
Thank you so much.
@ambareen2368
@ambareen2368 3 года назад
What's the difference between styling #slider and styling #slider figure. Aren't they both going to style the same thing? (i.e. all the images)
@yuniko3542
@yuniko3542 4 года назад
How to make the pictures size to a cover set?
@NickBurgoyne
@NickBurgoyne 2 года назад
Thank you!
@MikeGarcia1Putt
@MikeGarcia1Putt 4 года назад
Well Done!. I am using this slider on my website.
@kaushalyalakshitha9682
@kaushalyalakshitha9682 2 года назад
thank you for your help😊😊😊😊😊😊
@volumeup143
@volumeup143 2 года назад
That was amazing
@arronSKATERBOY1234
@arronSKATERBOY1234 3 года назад
how do you change the size, its too big for me
@nikhildaiya
@nikhildaiya 4 года назад
So very very very much thanks broooooooo
@jemnax1488
@jemnax1488 2 года назад
you're amazing
@gagikavagyan9920
@gagikavagyan9920 4 года назад
Thank you
@hoffmannted-frank8618
@hoffmannted-frank8618 5 месяцев назад
Thank you so mutch
@alexanderurezchenko6446
@alexanderurezchenko6446 4 года назад
Thanks!
@dasaridaniel5357
@dasaridaniel5357 2 года назад
thank you so much
@Sockpoppet
@Sockpoppet Год назад
Is there a way to write the code, so that it shows any image inside the folder, without having to type the full name of the image?
@moncere
@moncere 2 года назад
Nice video ‍🔥
@arthurmorgan2474
@arthurmorgan2474 Год назад
how to change the size of the image?
@Rio_diff
@Rio_diff Месяц назад
thank you
@creed5945
@creed5945 3 года назад
God bless you but how do I size the slideshow onto ananother page
@kaushalyalakshitha9682
@kaushalyalakshitha9682 2 года назад
i download this video to learn
@nadirdamidz6102
@nadirdamidz6102 2 года назад
It work thanks 😘
@user-lw4wt8rb6d
@user-lw4wt8rb6d 2 месяца назад
Thank u dr
@goodmeme980
@goodmeme980 3 года назад
whats the resolution of the image that you use?
@benjaminwusthofen8957
@benjaminwusthofen8957 Год назад
hi, thanks for the tutorial. What i must change, when i have only 3 jpg for the slider to show correctly? Thank you :)
@w3newbie
@w3newbie Год назад
Hello, you need to change the number of keyframe transitions and the percentages. I don't have the tutorial code in front of me.. but I believe it was a 5% gap for each unique slide making the transition.
@theredpill7897
@theredpill7897 4 года назад
added jpeg images then changed it to png images when it didnt show up on my site...Double checked my code and I did everything correctly. I wonder why its not working.
@AK-Star007
@AK-Star007 2 года назад
can we reduce image size? and further how to adjust different size images in one slider. thanx
@joerivandeweyer3056
@joerivandeweyer3056 2 года назад
yeah if op sees this i bet there's other who would like to see this answered. it's a hassle trying to get in the right images, let alone trying to get the figure itself to resize to a smaller box without f-ing up the ratios set for the images according to their amount and slide time
@NotNazuh
@NotNazuh 3 года назад
Is there any way to do a smaller version of this?
@jobertcabrera2971
@jobertcabrera2971 Год назад
Change width
@matrix3596
@matrix3596 3 года назад
bro thank u soo much
@AjayKumar-gg4ds
@AjayKumar-gg4ds 7 месяцев назад
Very. Nice
@spacesrealestate8899
@spacesrealestate8899 4 года назад
How do you do more than 5 images?
@mateusk20
@mateusk20 4 года назад
excellent video !! Would you like to know the name of this sublime text theme?
@odogwunwoke7319
@odogwunwoke7319 Год назад
i’m trying to do 4 images
@emaan7023
@emaan7023 Год назад
I'm doing this, but the images are not that size, they are a lot smaller. How do I change this?
@RobertaDeBBeal
@RobertaDeBBeal 11 месяцев назад
I would like to know that to!!
@nawel4862
@nawel4862 3 года назад
@abdulazizazimov9470
@abdulazizazimov9470 Год назад
SUPERRRR
@dalilaalllik8586
@dalilaalllik8586 3 года назад
why it's not working I did exactly what he did just the image that shows not the slider
@indramayukotaku7588
@indramayukotaku7588 4 года назад
why my picture doesn't appear
@paucedones2874
@paucedones2874 4 года назад
all of my website desapear when I put the slider because of the witdh 500%
@TrangLe-dp8jf
@TrangLe-dp8jf 3 года назад
Is this responsive?
@arifpatan7180
@arifpatan7180 2 года назад
Sir I'd will use in onetime
@parthparikh9624
@parthparikh9624 4 года назад
Subscribed
@Dandike2017-
@Dandike2017- Год назад
I don´t know how to embed this slider into a WordPress page!!
@Adam-gb9gf
@Adam-gb9gf 3 года назад
all of my images (5) are sliding off screen to the left for a while then then slide back onto the screen. What am I doing wrong? I have used images using link address from a website instead of saved images from a file, could this be causing it?
@ramkrushnhari9233
@ramkrushnhari9233 3 года назад
Will you please help me
@ramkrushnhari9233
@ramkrushnhari9233 3 года назад
Means what software we required to do slideshow like this
@brianjett1446
@brianjett1446 4 года назад
Does it matter of the size of the image you're using? Or do it have to be a specific size to work.
@sharriceowens913
@sharriceowens913 3 года назад
it seems so every slider i do i can get it to move but the sizes are not right. i get this issue no matter whoes video i watch on sliders
@mathdessin6755
@mathdessin6755 3 года назад
animation doesn't work with Firefox? Copied exactly like you but no movement at all
@w3newbie
@w3newbie 3 года назад
Hey just checked Firefox, Chrome, Safari, and it's working fine for me. Check the completed files in the description.
@Mrguaxinim
@Mrguaxinim Год назад
Try using -webkit
@Ralph4445
@Ralph4445 3 года назад
doesn't work on VScode
@ohkarsworld1500
@ohkarsworld1500 2 года назад
thank for tutorial but i don't like this kind of slide
@parthparikh9624
@parthparikh9624 4 года назад
What if we got 5 images how the keyframes percentages will be pls someone reply
@wickedgent5555
@wickedgent5555 4 года назад
it depends on the percentage the width of your image takes...for example his was 20%
@BillyLoweBeauty
@BillyLoweBeauty 6 лет назад
AND HOW DID YOU DECIDE 20, 50, 75, 90, WAHTEVER % WHEN MOVING AHEAD?
@richardramos7267
@richardramos7267 5 лет назад
That's how you control how fast the image is going to change from image to another image, if you want an exact calculation then here you go.. For example, we want a total of 10 second animation, but want to allocate a total of 1 second transition change from image to another image, and we have 5 images, the calculation would be.. 9/4 = 2.25, we now know that we have 2.25 second to see every image before the transition takes effect, You might ask, if we have 5 images, why 9/4 ?, it's because the final image and the first image is the same, and the animation-iteration-count is infinite, so it will loop anyways, now to get the animation transition speed, we will divide 1 by 4, 1/4 = 0.25, Now let's convert them to percentage so that we can use them to keyframes 2.25 second / 10 * 100 = 22.5%, and for animation transition speed: 0.25/10 *100 = 2.5%; now we can construct our keyframes @keyframes slide{ 0%{ left: 0; } 22.5%{ left: 0; } /*0 to 2.5 second (which is 22.5 in percentage) we want to stop the animation to see image1*/ 25%{ left: -100%; } /*then, we add the transition speed here, which is 0.25 second (which is 2.5%) so we should add 22.5% + 2.5% = 25%*/ /*NOTE: Same explanation Apply to the rest of the animation here for the total of 0% - 100% */ 47.5%{ left: -100%; } 50%{ left: -200%; } 72.5%{ left: -200%; } 75%{ left: -300%; } 97.5%{ left: -300%; } 100%{ left: -400%; } } Here is the project file for this, with explanation. codepen.io/anon/pen/qLdwxr?editors=0100
@parthparikh9624
@parthparikh9624 4 года назад
@@richardramos7267 May you and your family lives a long and happy life.
@arthurmorgan2474
@arthurmorgan2474 Год назад
@@richardramos7267 bro do you know how to minimize the size of the image? i want it to fit inside the container i made
@faresfares2495
@faresfares2495 3 года назад
It not work Why💔💔
@mck7382
@mck7382 2 года назад
keyframes slider error
@joerivandeweyer3056
@joerivandeweyer3056 2 года назад
i bet there's other who would like to see this answered. it's a hassle trying to get in the right images, let alone trying to get the figure itself to resize to a smaller box without f-ing up the ratios set for the images according to their amount and slide time
@rodneyschmuland1132
@rodneyschmuland1132 Год назад
Too restrictive....can't code for varying numbers of slides, i.e. too many %s.
@aarabhyarajan2389
@aarabhyarajan2389 3 года назад
2:23
@siddarthakadali7719
@siddarthakadali7719 Год назад
not the clear explanation for beginners
@codekky4526
@codekky4526 Год назад
google "codekky blog" for better explanation and tutorial
@BillyLoweBeauty
@BillyLoweBeauty 6 лет назад
WHAT WAS THE POINT IN GOING BACKWARDS ON EACH ONE?? YOU LOST ME
@richardramos7267
@richardramos7267 5 лет назад
Because if you put a positive number instead of negative, then your left point perspective is going to move to right, while negative number, will move from left to negative left, which will reveal the other images that are on the right position. Here is an example illustration. As you can see, the screen area/visible area only see the img1. [SCREEN AREA.] [SCREEN AREA.] Now let's move 100% from left to left, which is negative 100%; [SCREEN AREA.] now img2 is visible [SCREEN AREA.] now move -200%; [SCREEN AREA.] now img3 is visible [SCREEN AREA.] now move -300%; [SCREEN AREA.] now img4 is visible [SCREEN AREA.] now move -400%; [SCREEN AREA.] now img5 is visible [SCREEN AREA.]
@KuchingProperty
@KuchingProperty 2 года назад
When you teach something, you must have some logics. We are beginners. We copied your html and css. You gave us an example of so big image and we don't know how to amend it smaller to fit our website. sigh... It's really headache. Failed. I cannot even do a simple carousel. The slider is too fast and it will make my customers giddy and they definitely won't buy anything from me if I used your slider example. Image too big and sliding too fast and no clicking of pausing image.
@w3newbie
@w3newbie 2 года назад
Please see my Bootstrap slider video as it is easier to have controls.
Далее
Pure CSS Image Slider  Using Only HTML & CSS
7:39
Просмотров 165 тыс.
КТО ДОЛЬШЕ ПРОЖИВЕТ НА 10$
31:43
Просмотров 563 тыс.
Coca-Cola 😂🫲
00:20
Просмотров 2,8 млн
Top 10 CSS One Liners That Will Blow Your Mind
13:34
Просмотров 905 тыс.
Image Rotator using Html and CSS 3 - Website Design
7:28
Auto Image Slideshow using HTML and CSS
9:51
Просмотров 18 тыс.
HTML and CSS Project Tutorial: Pure CSS Image Slider
7:41
Auto Image Slideshow using HTML and CSS
7:03
Просмотров 323 тыс.
Responsive Slider Using HTML & CSS Only
10:34
Просмотров 232 тыс.
The Easiest Way to Build Websites
10:56
Просмотров 314 тыс.