list-style-image

Allows you to use an image (like a tiny icon or logo) as the bullet point for list items.

It is documented as part of the CSS Lists and Counters specification.

/* Usage Example */
ul.custom-bullets {
  /* Uses a specific image as the bullet point */
  list-style-image: url(';star-icon.png');
}

/* Syntax */
list-style-image: none;

/* Global values */
list-style-image: inherit;
list-style-image: initial;
list-style-image: revert;
list-style-image: revert-layer;
list-style-image: unset;
Widely available Since 2015 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

1+
1+
1+
12+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC