Name
list-style
Values:
list-style-type
|list-style-image
|list-style-position
Example:
UL { list-style: list-item url(3dball.gif) disc inside }
UL UL { list-style: circle outside }
Applies to:
Elements with display
property set to
list-item
Inherited:
Yes
This is a shorthand property for setting the
list-style
type, image, and position (inside,
outside) in one
declaration.
Get Web Design in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.