Myvideo

Guest

Login

Zebra-Striped List (HTML & CSS)

Uploaded By: Myvideo
3 views
0
0 votes
0

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 for

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later