ScanSkill

list-style-position

The list-style-position property defines the position of the markers of the list items.

Syntax

list-style-position: inside | outside;

Example

.div-1 > li{
            list-style-position: inside;
        }

        .div-2 > li{
            list-style-position: outside;
        }
list-style-position

Property Values

inside: displays the marker inside the items list box.

outside: displays the marker outside the items list box.