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
Both knowledgeable and humorist. Lethal combination!
Ahahahah 😂 Supeeeeer! Learning from the deadliest 😉😄
Very good from india
🙏 Very glad you liked it! Greetings to India!!
Yay. New video. It's been a while. Great explanations as usual. Keeping the quality bar high !
🙂 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 😉🙂
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? 😂
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 😀
Very nice mate, thanks!!!
Thank you mate! 🙂
💯❤❤
Good one Sir, thank you!
Thank you Sir 😉🙂
Eisai ena tanks!
Hahaha 😀 PAIXTARAS!!
Coding Journey we love you keep it up!
My hero! 🙏💙🙂