Pure CSS Responsive Image Slider - Only HTML & CSS

Поделиться
HTML-код
  • Опубликовано: 16 янв 2019
  • ➢Tutorial Files Download: m.w3newbie.com/w/tutorial-46.zip
    ➢Courses: w3newbie.com/courses/
    ➢Website Hosting: w3newbie.com/bluehost
    ➢Website Resources: w3newbie.com/resources/
    In this video we'll create a Pure CSS Responsive Image Slider using HTML5 and CSS3. We'll use CSS Keyframes to take advance of Animation using just HTML and CSS.
    Popular Pure CSS Responsive Image Slider Tutorial:
    • Pure CSS Responsive Im...
  • ХоббиХобби

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

  • @buckwheat_flower
    @buckwheat_flower 3 года назад +11

    i have seen numerous videos on image slider and this is the best one and the easiest one for someone unprofessional like me. Thank you so much for the easy illustration! Please keep up the amazing work!!💐

  • @gmanpublications
    @gmanpublications 5 лет назад +3

    Is there a way to do this with Flexbox? I ask because this isn't working. I have 8 logo images and they are showing larger than normal and still are showing 2 rows.

  • @foreverlalala
    @foreverlalala 4 года назад +1

    very well explained! thank you!!

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

    Dude, you're amazing, thank you!!!!!

  • @anilmelinmani9928
    @anilmelinmani9928 4 года назад

    Helped a lot
    Thanks!

  • @karunanithir1510
    @karunanithir1510 3 года назад +1

    Sir how to use array function to represent images in this code if the images are about 100.

  • @moadbm2033
    @moadbm2033 3 года назад +1

    how can i position the slider side by side with a text or put a text or button in center of slider

  • @rhymekidstv
    @rhymekidstv 4 года назад +1

    Thank you for this video😊

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

    This is best carousel video I've ever seen

  • @muhammadbinsaleem8565
    @muhammadbinsaleem8565 2 года назад +1

    Man IDK who you are but I one thing I want to tell you, you made me your student...

  • @acushlakoncepts
    @acushlakoncepts 4 года назад

    Nicely done

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

    thank you so muchhh broo, you really helped me

  • @user-pu3jn9qx2m
    @user-pu3jn9qx2m 4 месяца назад +1

    that was soo helpfull amazing work thank very much 🤝🤝🙏

  • @TheSkyGamez
    @TheSkyGamez 3 года назад +6

    clickbait
    in the thumbnail were buttons for every image and buttons to go left and right, completely skips this in video

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

    Thank you so much!!!!

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

    Why don't you use scroll snap feature in css?

  • @usmanmughal5916
    @usmanmughal5916 3 года назад

    How do I type text Over this SLIDE? It just appears below the slide.Even i used absolute position with z-index -1 for slider it works but it brings the bottom left-right scrollbar.

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

      Hmm Try making the img a background image instead

  • @ahmedlaouini3544
    @ahmedlaouini3544 2 года назад

    thank you so much

  • @lebogangnkhuna2592
    @lebogangnkhuna2592 5 лет назад +1

    Hi, How can I add arrows on both sides. If I don't want an animation. Just want people to click, to the next picture.

    • @w3newbie
      @w3newbie  5 лет назад

      To have it slide automatically and have the prev and next buttons you might want to consider checking out my "Bootstrap Slider" video here: ruclips.net/video/iiUtzrC5BPE/видео.html&t

    • @jeramycruz1993
      @jeramycruz1993 4 года назад

      javascript

  • @jeramycruz1993
    @jeramycruz1993 4 года назад +1

    im doing a three image side with 20s slider i cant seem to get the @keyframes right please help

    • @gazza363
      @gazza363 4 года назад +1

      try this
      @keyframes slider {
      0% {
      left: 0;
      }
      20% {
      left: 0;
      }
      25% {
      left: -100%;
      }
      45% {
      left: -100%;
      }
      50% {
      left: -200%;
      }
      70% {
      left: -200%;
      }
      75% {
      left: -300%;
      }
      95% {
      left: -300%;
      }
      100% {
      left: -400%;
      }
      }

  • @tanercoder1915
    @tanercoder1915 2 года назад +1

    I was hoping you make inputs for switching between slides. but it was same as your tut from 2018. need to learn how to control this with inputs.

    • @w3newbie
      @w3newbie  2 года назад

      I have made an image slider like this but it is very complex with only CSS and the video would be super long. For this, I recommend simply using Bootstrap. See my Bootstrap slider video to see what I mean.

  • @Mohamedmohamed-yr5gi
    @Mohamedmohamed-yr5gi 5 месяцев назад +2

    Thanks

  • @shahanajleget9838
    @shahanajleget9838 2 года назад

    Thanks sir

  • @vaibhzDixit
    @vaibhzDixit 4 года назад

    Nicee

  • @mostjharnabegum942
    @mostjharnabegum942 3 года назад +1

    how to make the slider from bottom to top? i really need your help. because your video is easy to learn

    • @darrenchristian3268
      @darrenchristian3268 2 года назад +1

      U can make the figure element display:flex , and flex-direction:column, then for the animation instead of using translateX use translateY

  • @GeorgeNascimento08
    @GeorgeNascimento08 3 года назад

    is where buttons?

  • @90andresramos
    @90andresramos 4 года назад

    Responsive?

  • @flameon3dstudio483
    @flameon3dstudio483 2 года назад

    For 6 images how will I go about it

    • @w3newbie
      @w3newbie  2 года назад

      Change the keyframe percentages so there are more pauses and the width (in 100 x # of photos percentage).

  • @angelwillis2739
    @angelwillis2739 4 года назад +1

    images aren't sliding

  • @digimentorz5547
    @digimentorz5547 3 года назад

    Are you sure this is responsive ?

  • @VolRecon
    @VolRecon 4 года назад +2

    What is happening when i have 5 diferent size picture and i want hight: 100vh?? No longer works...

    • @mvpdustin843
      @mvpdustin843 3 года назад

      do a css rule like responsive picture add height and width and then put a id in any imp or just in the div container