Why don't my bullets show up when I add padding?
Bullets are part of the list marker area inside the padding. If you set padding on the list but also override list-style-type to none or use display:flex, bullets disappear. See render_steps 2 where padding keeps bullets visible.
💡 Bullets appear only if list-style-type is not none and display is block or list-item.
Why is there space after the last list item when using margin-bottom?
Margin-bottom adds space below every li, including the last one, creating space at the end of the ul. To remove space after the last item, use li:last-child { margin-bottom: 0; } or apply padding-bottom to the ul.
💡 Bottom margin of the last li creates trailing space inside the container; use :last-child to remove it.
Why does setting display:flex on ul change the list layout?
Flex changes the list from vertical block layout to horizontal flex layout, removing bullets by default. This is useful for horizontal menus but changes the default vertical list look. See property_table for display:flex effect.
💡 Use display:flex on ul for horizontal menus, but bullets disappear unless custom markers added.