CSS list style position Property
CSS list-style-position Property
The list-style-position property is used to specify the position of the list-item markers. If it is set to outside, then bullet points will be outside the list item. If it is set to inside, then bullet points will be inside the list item.
Default Value:-
Its default value is outside.
Syntax:-
Its syntax is:- list-style-position: inside | outside | initial | inherit;
Further Explanation:-
Value | Description |
---|---|
inside | The bullet points will be inside the list item |
outside | The bullet points will be outside the list item. |
initial | Sets this property to its default value. |
inherit | Inherits this property from its parent element. |