list-style-image
CSS list-style-image Property
The CSS list-style-image property is used to specify an image resource to use as a custom replacement for the default markers that can be set for list-item type elements.
CSS CODE EXAMPLE
<style type="text/css">
.myList {
list-style-image: url(images/smallGradCap.png);
}
</style>
<ul class="myList">
<li>My list item</li>
<li>Another list item</li>
<li>Final list item</li>
</ul>
.myList {
list-style-image: url(images/smallGradCap.png);
}
</style>
<ul class="myList">
<li>My list item</li>
<li>Another list item</li>
<li>Final list item</li>
</ul>
- My list item
- Another list item
- Final list item
0 Response to "list-style-image"
Post a Comment