CSS · Properties — CSS Lists and Counters

list-style-position

The CSS list-style-position property. Initial value: outside. Inherited.

Syntax
list-style-position: inside | outside

Example

Try it

Notes

Media: visual. Applies to: listItems. Computed value: asSpecified.

More in this group

counter-increment counter-reset counter-set list-style-image list-style-type

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course