CSS - display-list
The display-list
CSS property specifies whether a list marker should be displayed for an element.
Syntax
CSS
Copy Code
/* Keyword values */ display-list: none; display-list: list-item; /* Keyword values */ display-list: inherit; display-list: initial; display-list: unset;
Values
none
- There is no list marker displayed for the element.
list-item
- The element generates a
::marker
pseudo-element and is considered a list item.
Formal syntax
CSS
Copy Code
none <a href="css/value_definition_syntax#single_bar" title="Single bar">|</a> list-item
Description
The display-list
CSS property specifies whether a list marker should be displayed for an element.
Initial value | none |
---|---|
Applies to | all elements |
Inherited | no |
Media | all |
Computed value | as specified |
Animatable | no |
Canonical order | the unique non-ambiguous order defined by the formal grammar |
Browser Compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | Not supported | Not supported | Not supported | Not supported | Not supported |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | Not supported | Not supported | Not supported | Not supported | Not supported |
Specifications
Specification | Status | Comment |
---|---|---|
CSS Display Module Level 3 The definition of 'display-list' in that specification. |
Working Draft | Initial definition |
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/css/display-list