Welcome to Vanilla Breeze
This bell pulls live notifications from /go/notify/messages — the same contract documented at /docs/concepts/service-contracts/. Static articles like this one are the no-JS / no-backend fallback.
This bell pulls live notifications from /go/notify/messages — the same contract documented at /docs/concepts/service-contracts/. Static articles like this one are the no-JS / no-backend fallback.
The ordered list element represents a collection of items where the sequence is meaningful.
The <ol> element creates a numbered list of items. Each item is wrapped in an <li> element. Use ordered lists when the sequence of items matters — such as steps in a process, rankings, or any content where position is significant.
By default, items are numbered with decimal numerals (1, 2, 3...) and have left padding for indentation.
Standard ordered list with decimal numbering.
<ol> <li>First step in the process</li> <li>Second step in the process</li> <li>Third step in the process</li> <li>Fourth step in the process</li></ol>
Use the type attribute to change the numbering style.
| Type Value | Numbering Style | Example |
|---|---|---|
1 (default) |
Decimal numbers | 1, 2, 3... |
A |
Uppercase letters | A, B, C... |
a |
Lowercase letters | a, b, c... |
I |
Uppercase Roman | I, II, III... |
i |
Lowercase Roman | i, ii, iii... |
Control numbering with the start, reversed, and value attributes.
<ol> <li>Item 1</li> <li value="5">Jumps to 5</li> <li>Continues from 6</li></ol>
| Attribute | Values | Description |
|---|---|---|
type |
1, A, a, I, i |
Numbering style |
start |
Integer | Starting number |
reversed |
Boolean | Count down instead of up |
value (on <li>) |
Integer | Override a specific item's number |
.inlineDisplay list items horizontally. Numbers are removed in this variant.
.unstyledRemove numbers and indentation for custom styling.
<ol class="inline"> <li>Step 1</li> <li>Step 2</li> <li>Step 3</li> <li>Step 4</li></ol>
<ol class="unstyled"> <li>First item (no number)</li> <li>Second item (no number)</li> <li>Third item (no number)</li></ol>
Ordered lists can be nested, and can mix with unordered lists for complex hierarchical content.
<ol> <li>Gather ingredients <ul> <li>Flour</li> <li>Sugar</li> <li>Eggs</li> </ul> </li> <li>Mix dry ingredients</li> <li>Add wet ingredients</li> <li>Bake at 350°F</li></ol>
reversed attribute is reflected in announced numbersstart values are properly announcedtype attribute for legal/academic numbering styles| Property | Value | Description |
|---|---|---|
padding-inline-start |
var(--size-l) |
Left indentation for list items |
.inline| Property | Value |
|---|---|
display |
flex |
flex-wrap |
wrap |
gap |
var(--size-s) |
list-style |
none |
The <ol> element serves as the semantic foundation for these patterns:
Chronological events, order tracking, and activity feeds