CSS list-style-image Property
Description
The list-style-image
property sets the image that will be used as the list item marker. It is often more convenient to use the shorthand list-style.
- Initial valuenone
- Applies toList item elements
- InheritedYes
- MediaVisual
- Computed valueSpecified value
- AnimatableNo
- CSS VersionCSS1, CSS2, CSS3
- JavaScript syntaxobject.style.listStyleImage
Syntax
Formal syntax: <image> | none list-style-image: url(checkmark.gif); list-style-image: none;
Values
- noneNo image is specified.
- <image>Location of image to use as the marker.
- inherit
Example
.class { list-style-image: url(checkmark.gif); }
Browser Support
1+![]() | 6+![]() | 1+![]() | 1+![]() | 8+![]() |
View All CSS Properties
Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.