CSS list-style-image property
Description
CSS list-style-image adds an image as the content of list item markers.
Syntax
list-style-image : none | url(image-address)
Property values
noneDefault
-
no image is used as the content of list item markers. In this case, list-style-type defines the type of list item markers.
list-style-image: none;
url(image-address)
-
It defines the address of the image that is used as the content of list item markers.
list-style-image: url('img/web4college.png');
Applicable to
It applies to list items.
From web4college, the free CSS digger
#CSS digger
Was this article helpful?
- First item
- Second item
- Third item
▾