Standard lists
Standard ordered (<ol>
) and unordered (<ul>
) lists can be added to article content using the Zendesk article editor.
Use .list-item
to add additional space around each list item.
Our margin utilities can also be used to control the spacing between list items.
Definition lists
Use <dl>
to wrap one or more combinations of <dt>
and <dd>
elements to create a description list.
Custom styles
Unstyled list
Use .list-unstyled
to remove the default styling from <ol>
and <ul>
elements.
Our list style utilities provide additional control over the look-and-feel of lists.
Numbered list
Use .list-number
to apply a custom numbered style to a list.
Check list
Use .list-check
to apply a custom checklist style to a list.
Divider list
Use .divider-list
to present list items in a horizontal list separated by a divider.
The data-divider
attribute allows you to override the divider applied before a given list item: