Updated: 2026-07-11
βοΈ List Style Settings
Customize list markers with type, color, size and position.
Unordered (ul)
Ordered (ol)
1.2em
16px
2
ποΈ Live Preview
See both unordered and ordered list styling in real time.
Unordered List
Ordered List
π» CSS Code
π CSS List Styling Explained
CSS list styling uses the list-style shorthand or individual properties: list-style-type, list-style-position, and list-style-image.
::marker Pseudo-element
The ::marker pseudo-element gives you independent control over list marker styles including color, font-size, and font-family. Example: li::marker { color: #f59e0b; font-size: 1.5em; }. Supported in Chrome 86+, Firefox 68+, Safari 11.1+.
CSS Counters
Use counter() and counter-increment for advanced multi-level numbering like 1.1, 1.2, 2.1, perfect for document outlines and legal clauses.