© Mikael Olsson 2019
Mikael OlssonCSS3 Quick Syntax Referencehttps://doi.org/10.1007/978-1-4842-4903-1_23

23. List

Mikael Olsson1 
(1)
Hammarland, Finland
 

The CSS list properties deal with the list elements, specifically the <ul>, <ol>, and <li> elements.

list-style-type

Lists are rendered with a marker shown before each list item element (<li>). The appearance of this marker can be changed using the list-style-type property. For an unordered list (<ul>), each list item is marked in the same way. The predefined bullet values shown here can be used, with disc (a filled circle) as the initial value:
list-style-type : inherit | disc | circle | square | none
In an ordered list (<ol>), each list item is marked with a numeric character to show its position ...

Get CSS3 Quick Syntax Reference: A Pocket Guide to the Cascading Style Sheets Language 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.