A list of items in which the order does not explicitly matter.
<ul> <li>...</li> </ul>
A list of items in which the order does explicitly matter.
<ol> <li>...</li> </ol>
Remove the default list-style
and left margin on list items (immediate children only). This only applies to immediate children list items, meaning you will need to add the class for any nested lists as well.
<ul class="unstyled"> <li>...</li> </ul>
Place all list items on a single line with display: inline-block;
and some light padding.
<ul class="inline"> <li>...</li> </ul>
<ul class="grid two"> <li>Lorem ipsum</li> <li>Phasellus iaculis</li> <li>Nulla volutpat</li> </ul>
A list of terms with their associated descriptions.
<dl> <dt>...</dt> <dd>...</dd> </dl>
Make terms and descriptions in <dl>
line up side-by-side. Starts off stacked like default <dl>
s, but when the navbar expands, so do these.
<dl class="horizontal"> <dt>...</dt> <dd>...</dd> </dl>
<ul class="group"> <li>Cras justo odio</li> <li>Dapibus ac facilisis in</li> <li class="disabled">Morbi leo risus</li> <li>Porta ac consectetur ac</li> <li>Vestibulum at eros</li> </ul>
<div class="group"> <a href="#" class="active">Cras justo odio</a> <a href="#">Dapibus ac faciasis in</a> <a href="#" class="disabled">Morbi leo risus</a> <a href="#">Porta ac consectetur ac</a> <a href="#">Vestibulum at eros</a> </div>
<ul class="group"> <li><span class="label">14</span> Cras justo odio</li> <li><span class="label">2</span> Dapibus ac facilisis in</li> <li><span class="label">1</span> Morbi leo risus</li> </ul>
Use contextual classes to style list items, default or linked. Also includes .active
state.
<ul class="group"> <li class="success">Dapibus ac facilisis in</li> <li class="info">Cras sit amet nibh libero</li> <li class="warning">Porta ac consectetur ac</li> <li class="danger">Vestibulum at eros</li> </ul> <div class="group"> <a href="#" class="success">Cras justo odio</a> <a href="#" class="info">Dapibus ac faciasis in</a> <a href="#" class="warning">Morbi leo risus</a> <a href="#" class="danger">Porta ac consectetur ac</a> </div>
Add nearly any HTML within, even for linked list groups like the one below.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
<div class="group"> <a href="#" class="active"> <h4 class="heading">List group item heading</h4> <p class="text">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p> </a> </div>