Open main menu

CDOT Wiki β

CSS GUIDE LIST-STYLE

Summary

The list-style property is a shorthand property for setting list-style-image, list-style-type, list-style-position.

  • Initial value: see individual properties for details
  • Applies to: elements with 'display: list-item'
  • Inherited: no
  • Percentages: N/A
  • Media: visual
  • Computed value: see individual properties

Syntax

list-style: [ list-style-type || list-style-position || list-style-image ] | inherit

Legal Values

list-style-type

list-style-image

list-style-position

Mozilla Recommended Values

Usage Examples

ul { 
    list-style: circle inside;
}

Notes

Specification Conformance

Browser Compatibility

See Also