CSS list-style Property
The list-style property defines all three list-style properties of type, position and image in one declaration.
Possible Values
For available values please see the individual property pages.
- list-style-type
- list-style-image
- list-style-position
- inherit - the values is inherited from the parent element.
Example of the list-style property in use with the following code:
list-style: upper-roman outside url(purple.gif);
- First List Item
- Second List Item
- Third List Item
The values in the declaration are separated by a space and because list-style-image is defined the value of list-style-type is only shown if the browser can't locate the image.
