list-style-image
Lists
Uses an image as the list marker.
| How to write it | list-style-image: none; |
|---|---|
| Common values | none, url(dot.svg) |
| Inherited | Yes — children receive it |
| Part of | list-style |
| Category | Lists |
How to read this
- An inherited property only needs writing once on the parent — every child picks it up. Most text properties work this way.
- A shorthand resets whatever you leave out. Writing background: red alone also wipes a background image you set earlier.
- When rules collide, the more specific selector wins; only when specificity ties does source order decide.
- Animate transform and opacity for smoothness. Changing width or top forces the layout to be recalculated.
Frequently asked questions
Q. What is the CSS list-style-image property?
Uses an image as the list marker.
Q. How do you write list-style-image?
As list-style-image: none; Common values include none, url(dot.svg).
Q. Is list-style-image inherited?
Yes. Set it once on the parent and every child uses the same value without repeating it.
Q. Which shorthand sets list-style-image?
list-style can set it in one line.