List Style
List Style Type Classes
The following classes allow you to control the list-style-type property, which defines the appearance of list item markers.
.list-none
Removes any marker or bullets from the list items.
CSS equivalent: list-style-type: none;
Example usage:
.list-disc
Sets the list marker to a disc, which is the default for unordered lists.
CSS equivalent: list-style-type: disc;
Example usage:
.list-circle
Sets the list marker to an open circle.
CSS equivalent: list-style-type: circle;
Example usage:
.list-square
Sets the list marker to a square.
CSS equivalent: list-style-type: square;
Example usage:
.list-decimal
Sets the list marker to numbers(decimals), which is the default for ordered lists.
CSS equivalent: list-style-type: decimal;
Example usage:
.list-decimal-leading-zero
Sets the list marker to numbers with a leading zero (01, 02, 03, etc.).
CSS equivalent: list-style-type: decimal-leading-zero;
Example usage:
.list-lower-roman
Sets the list marker to lowercase Roman numerals (i, ii, iii, etc.).
CSS equivalent: list-style-type: lower-roman;
Example usage:
.list-upper-roman
Sets the list marker to uppercase Roman numerals (I, II, III, etc.).
CSS equivalent: list-style-type: upper-roman;
Example usage:
.list-lower-alpha
Sets the list marker to lowercase alphabetical characters (a, b, c, etc.).
CSS equivalent: list-style-type: lower-alpha;
Example usage:
.list-upper-alpha
Sets the list marker to uppercase alphabetical characters (A, B, C, etc.).
CSS equivalent: list-style-type: upper-alpha;
Example usage:
.list-lower-greek
Sets the list marker to lowercase Greek characters (α, β, γ, etc.).
CSS equivalent: list-style-type: lower-greek;
Example usage:
.list-upper-greek
Sets the list marker to uppercase Greek characters (Α, Β, Γ, etc.).
CSS equivalent: list-style-type: upper-greek;
Example usage:
.list-lower-latin
Sets the list marker to lowercase Latin characters (a, b, c, etc.).
CSS equivalent: list-style-type: lower-latin;
Example usage:
.list-upper-latin
Sets the list marker to uppercase Latin characters (A, B, C, etc.).
CSS equivalent: list-style-type: upper-latin;
Example usage:
.list-disclosure-closed
Sets the list marker to a closed disclosure triangle.
CSS equivalent: list-style-type: disclosure-closed;
Example usage:
.list-disclosure-open
Sets the list marker to an open disclosure triangle.
CSS equivalent: list-style-type: disclosure-open;
Example usage:
List Style Position Classes
These classes control the position of the list marker relative to the list item content.
.list-inside
Sets the list marker to appear inside the content box of the list item.
CSS equivalent: list-style-position: inside;
Example usage:
.list-outside
Sets the list marker to appear outside the content box of the list item.
CSS equivalent: list-style-position: outside;
Example usage:
Last updated