Poking at HTML Lists

preview_player
Показать описание
I had a dumb little issue the other day where a nested list didn't quite have the right spacing. I was only adding margin-bottom on the list elements and the lists themselves, but that meant when you nested a list there was no space between the first nested list item and the parent list item above it. It got me thinking about margins, spacing in general, and nested items.

Let's have a poke at lists. We'll take a look at ::marker and how handy that is. We'll look at different kinds of lists. And we'll spend lots of time just thinking about spacing in general and how it works with lists and list items.
Рекомендации по теме
Комментарии
Автор

Essential stuff. I love you are still teaching the basics!

stijn_van_cuijk
Автор

Perfect time to be coming out with the basic stuff (in depth) scores can benefit from them. More please, if you have time :)

taariqq
Автор

How is he automating the creation of the <li> tags with lorem ipsum content?

warrenmarkham