Zebra-Striped List (HTML & CSS)

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2019
  • Learn how to create a Zebra-Striped List, using the :nth-child() CSS pseudo-class selector, which allows us to target elements based on their index/position in a group of siblings.
    Creating striped lists, with alternating background colors, helps us differentiate list items, making them more distinguishable, and the :nth-child() CSS selector makes this task very simple!
    In this video, we discuss in detail how to use the :nth-child() selector and we then use it to create striped lists!
    Enjoy 😊
    Don’t forget to share, like, subscribe and I would love to hear your thoughts in the comments section below!
    Support the Channel 💙☕🙏
    PayPal: paypal.me/CodingJourney
    Suggested Videos:
    Animated Intro (HTML & CSS): • Animated Intro (HTML &...
    Slide-In Overlay Hover Effect (HTML & CSS): • Slide-In Overlay Hover...
    Card Flip Effect (HTML & CSS): • Card Flip Effect (HTML...
    Colorful Background with linear-gradient: • Colorful Background wi...
    How to Change Text Selection Styling with CSS: • How to Change Text Sel...
    Keeping Footer at the Bottom of the Page (HTML & CSS): • Keeping Footer at the ...
    Codepen: codepen.io/Coding_Journey/
    Twitter: / codingjrney
    Email: codingjourney123@gmail.com
    Subscribe 💖
    / @codingjourney

ความคิดเห็น • 17

  • @5oLitaryMan
    @5oLitaryMan 4 ปีที่แล้ว

    Both knowledgeable and humorist. Lethal combination!

    • @CodingJourney
      @CodingJourney  4 ปีที่แล้ว

      Ahahahah 😂 Supeeeeer! Learning from the deadliest 😉😄

  • @Cricklet_
    @Cricklet_ 4 ปีที่แล้ว +1

    Very good from india

    • @CodingJourney
      @CodingJourney  4 ปีที่แล้ว +1

      🙏 Very glad you liked it! Greetings to India!!

  • @Frankslaboratory
    @Frankslaboratory 4 ปีที่แล้ว

    Yay. New video. It's been a while. Great explanations as usual. Keeping the quality bar high !

    • @CodingJourney
      @CodingJourney  4 ปีที่แล้ว +1

      🙂 Trying to avoid TH-cam burnout 😁 Thanks for the nice words and support man! Very glad to see your channel growing, you totally deserve it! Keep creating 😉🙂

  • @Webnoob
    @Webnoob 4 ปีที่แล้ว +1

    Have fun with lists. Elegant tutorial, bro. You explained it very well. By the way, my son loves zebras, his comment about it was: Why does the zebra change its colors? Maybe, to keep the lions away, I think. What's your answer? 😂

    • @CodingJourney
      @CodingJourney  4 ปีที่แล้ว

      Thanks bro! 🙂 Well camouflage sounds like a good reason, also scientists claim that zebra stripes deter biting flies and help regulate body temperature. But I think you should better ask your son what he thinks...children's imagination can be quite creative 😀

  • @James-dh6gt
    @James-dh6gt 4 ปีที่แล้ว

    Very nice mate, thanks!!!

  • @Tony-pe3kp
    @Tony-pe3kp 4 ปีที่แล้ว +1

    💯❤❤

  • @sirlancelot8015
    @sirlancelot8015 4 ปีที่แล้ว

    Good one Sir, thank you!

  • @nicolasshattaoula3354
    @nicolasshattaoula3354 4 ปีที่แล้ว +1

    Eisai ena tanks!