How to create and style lists with HTML and CSS

Kevin Powell β€’ October 10, 2023
Video Thumbnail
Kevin Powell Logo

Kevin Powell

View Channel

About

Helping you learn how to make the web, and make it look good while you're at it. With weekly videos and shorts, I'll be bringing you How Tos and Tutorials, as well as simple tips and tricks, with a big focus on helping people see how wonderful CSS is!

Video Description

Lists are one of the most common elements we have on websites, so I decided to do a beginner-friendly deep dive on them, exploring ordered and unordered lists, from how to create them, the difference between the two of them, their default styling, and how we can customize how they look with our own styles. πŸ”— Links βœ… Live server for VS Code: https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer βœ… More on external style sheets: https://youtu.be/JVsI0fspik8 βœ… Collapsing Margins: https://youtu.be/uEfH6qnFF6Y βœ… The different list-style-types: https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type#values ⌚ Timestamps 00:00 - Introduction 00:39 - The two most common types of lists 04:12 - The importance of using the correct type of list 05:10 - An example of using them correctly 07:00 - The default styling of lists 11:00 - Understanding and changing the spacing of our lists 16:35 - Spacing between list items 18:40 - Colors with list items 19:40 - Changing the number or bullet point icons with list-style-type 23:00 - Changing the bullet point to a custom image 25:22 - Styling the bullet or number using ::marker 30:22 - The one thing you shouldn’t do with lists #css -- Come hang out with other dev's in my Discord Community πŸ’¬ https://discord.gg/nTYCvrK Keep up to date with everything I'm up to βœ‰ https://www.kevinpowell.co/newsletter Come hang out with me live every Monday on Twitch! πŸ“Ί https://www.twitch.tv/kevinpowellcss --- Help support my channel πŸ‘¨β€πŸŽ“ Get a course: https://www.kevinpowell.co/courses πŸ‘• Buy a shirt: https://teespring.com/stores/making-the-internet-awesome πŸ’– Support me on Patreon: https://www.patreon.com/kevinpowell --- My editor: VS Code - https://code.visualstudio.com/ --- I'm on some other places on the internet too! If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter. Twitter: https://twitter.com/KevinJPowell Codepen: https://codepen.io/kevinpowell/ Github: https://github.com/kevin-powell --- And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

You May Also Like