CSS list-style Property


The list-style CSS property is used to define the list style. This property is a combination of three other properties: list-style-type, list-style-position, and list-style-image, and it can be used as a shorthand notation for these three. If any of the values are missing, the default value of this property will be used.

Syntax

Example

Preview

Property Values

Value Description
list-style-type This property specifies the type of list-item marker. The default value is "disc."
list-style-position Specifies where the list-item marker should be placed. The default setting is "outside."
list-style-image This property specifies the type of list-item marker. The default value is "none."
initial This property is set to its default value.
inherit This property is inherited from its parent element.

Supported Browsers

Property Chrome Firefox Safari Edge / IE Opera
list-style 1.0 1.0 1.0 4.0 7.0