Styling Lists with CSS
CSS gives you precise control over every aspect of list appearance. The shorthand property list-style combines list-style-type, list-style-position, and list-style-image into one declaration.
list-style-position
The list-style-position property controls whether the bullet or number sits outside (default — left of the text block) or inside (within the text flow, so wrapped lines align under the marker). For fully custom markers with exact positioning, use list-style: none and generate a marker via the ::before pseudo-element with content and counter().