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 list item element represents an individual item within a list structure.
The <li> element represents a single item in a list. It must be a direct child of an <ul> (unordered list), <ol> (ordered list), or <menu> element.
List items can contain any flow content, including text, links, images, and nested lists.
<ul>, <ol>, or <menu><nav> with <ul>)<ul> <li>Simple text item</li> <li>Another text item</li> <li>Third text item</li></ul>
<ol> <li>First step</li> <li>Second step</li> <li>Third step</li></ol>
List items can contain any flow content, not just text.
<ul> <li> <strong>Feature Name</strong> <p>Description of the feature with supporting text.</p> </li> <li> <strong>Another Feature</strong> <p>More descriptive text about this feature.</p> </li></ul>
List items can contain nested lists to create hierarchical structures. The nested list must be inside the <li> element.
<ul> <li>Parent item one <ul> <li>Child item one</li> <li>Child item two <ul> <li>Grandchild item</li> </ul> </li> </ul> </li> <li>Parent item two</li></ul>
<ol> <li>Step one: gather materials <ul> <li>Paper</li> <li>Scissors</li> <li>Glue</li> </ul> </li> <li>Step two: cut the paper</li> <li>Step three: assemble</li></ol>
In ordered lists, use the value attribute to override the item's number. Subsequent items continue from that value.
<ol> <li>Regular item (1)</li> <li value="10">Jumps to 10</li> <li>Continues at 11</li> <li value="20">Jumps to 20</li> <li>Continues at 21</li></ol>
Note: The value attribute only applies to <li> elements within <ol>. It has no effect in <ul>.
<li> inside a proper list container<li> outside a list container<ul>/<ol> and <li>| Context | Property | Value |
|---|---|---|
Adjacent items (li + li) |
margin-block-start |
var(--size-xs) |
In .inline / .unstyled lists |
margin-block-start |
0 |
In [data-layout="grid"] |
margin-block-start |
0 |
| Attribute | Context | Description |
|---|---|---|
value |
Inside <ol> only |
Override the item's ordinal number |