B.59. list-style
This shorthand property lets you set the three list-style properties with a single property declaration.
All three elements are optional, but any property you do not specify will be implicitly set to its initial value (overriding any value specified in a rule of lesser or equal priority).
For this property to have any effect, the target element (or one of its descendants, which will inherit this property) must have it display property set to list-item. The recommended method to set the list-style properties for a list, is to apply the properties to the list element so that the individual list items inherit them.
Inherited: Yes
See also: Section B.60list-style-image, Section B.61list-style-position, and Section B.62list-style-type ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access