-
-
Notifications
You must be signed in to change notification settings - Fork 746
Lists
CJ Patoilo edited this page Jul 6, 2016
·
1 revision
The List is a very versatile and common way to display items. Milligram has three types of lists: The unordered list use <ul>
element will be marked with a outline circles, the ordered list use <ol>
element and your items will be marked with numbers, the description list use <dl>
element and your items will not be marking, only spacings.
<!-- Unordered list -->
<ul>
<li>Unordered list item 1</li>
<li>Unordered list item 2</li>
</ul>
<!-- Ordered list -->
<ol>
<li>Ordered list item 1</li>
<li>Ordered list item 2</li>
</ol>
<!-- Description list -->
<dl>
<dt>Description list title 1</dt>
<dt>Description list title 2</dt>
</dl>
<!-- Easily change any <dl>, <ul> or an <ol> to get clear lists, number lists or outline circles. -->
See more examples of lists here.
- Getting Started
- Typography
- Blockquotes
- Buttons
- Lists
- Forms
- Tables
- Grids
- Codes
- Utilities
- Tips
- Browser Support
- Examples
Want to contribute? Follow these recommendations.
Designed with ♥ by CJ Patoilo. Licensed under the MIT License.