List style type

Syntax

Class
Properties
list-none
list-style-type: none;
list-disc
list-style-type: disc;
list-decimal
list-style-type: decimal;
<div class="t1 w-256 p-16 bg-c-white shadow-4 tab-2"> <ul class="t1 list-inside list-disc"> <li>foo</li> <li>bar</li> <li>baz</li> </ul> </div>

Specification test cases

The test cases below are imported from the Turbo CSS specification. They have been executed upon loading this page.
Hide list item marker.
t1 list-none
.t1.list-none { list-style-type: none; }
Show bullet points before list entries.
t1 list-disc
.t1.list-disc { list-style-type: disc; }
Show numbers before list entries.
t1 list-decimal
.t1.list-decimal { list-style-type: decimal; }