Overview
The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.
<p class="">list-style:none- First
- Second
- Third
list-style:disc- First
- Second
- Third
list-style:decimal- First
- Second
- Third
list-style:circle- First
- Second
- Third
list-style:square- First
- Second
- Third
list-style:decimal-leading-zero- First
- Second
- Third
list-style:lower-roman- First
- Second
- Third
list-style:lower-greek- First
- Second
- Third
list-style:lower-alpha- First
- Second
- Third
list-style:lower-latin- First
- Second
- Third
list-style:upper-roman- First
- Second
- Third
list-style:upper-alpha- First
- Second
- Third
list-style:upper-latin- First
- Second
- Third
list-style:arabic-indic- First
- Second
- Third
list-style:armenian- First
- Second
- Third
list-style:bengali- First
- Second
- Third
list-style:cambodian/khmer- First
- Second
- Third
list-style:cjk-earthly-branch- First
- Second
- Third
list-style:cjk-heavenly-stem- First
- Second
- Third
list-style:devanagari- First
- Second
- Third
list-style:georgian- First
- Second
- Third
list-style:gurmukhi- First
- Second
- Third
list-style:kannada- First
- Second
- Third
list-style:lao- First
- Second
- Third
list-style:malayalam- First
- Second
- Third
list-style:myanmar- First
- Second
- Third
list-style:oriya- First
- Second
- Third
list-style:telugu- First
- Second
- Third
list-style:thai- First
- Second
- Third
Applying with functions
<div class="list-style-type:$(value)">...</div>Master supports native CSS variables and functions, just add var(--key) or use shorthand$(key) for variables.
You can also use calc(expression), env(expression) and other CSS functions if the property supports it.
To learn more, see the Functions documentation.
Conditionally apply
States and selectors
<div class="list-style-type:circle:hover">...</div>Master supports all native CSS selectors, just add :hover, :disabled, chaining, combinators and other CSS selectors as usual.
To learn more, see the Selectors documentation.
Responsive breakpoints
<div class="list-style-type:circle@sm">...</div>Responsive breakpoints can be applied to all styles. Some available breakpoints are 3xs, 2xs, xs, sm,md, lg, xl, 2xl, 3xl, 4xl. Arbitrary breakpoints can be specified through comparison operators >, >=, <, <=.
To learn more, see the Breakpoints documentation.
Print format and media queries
<div class="list-style-type:circle@print">...</div>Master supports media types like print, screen, speech, all, and other media queries.
To learn more, see the Media Queries documentation.
Dark mode and color schemes
<div class="list-style-type:circle@dark">...</div>Master uses the selector html.dark to support color schemes. Now, you can easily fine-tune your style for the color schemes.
To learn more, see the Color Schemes documentation.