Lists

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 item 1
  • Unordered list item 2
  1. Ordered list item 1
  2. Ordered list item 2
Description list item 1
Description list item 1.1
/* Unordered list */
  • Unordered list item 1
  • Unordered list item 2
/* Ordered list */
  1. Ordered list item 1
  2. Ordered list item 2
/* Description list */
Description list item 1
Description list item 1.1
/* Easily change any `dl`, `ul` or an `ol` to get clear lists, number lists or outline circles. */

Examples

You can view more examples of using Milligram.

Contributing

Want to contribute? Follow these recommendations.

Subscribe to our newsletter

The latest news and resources sent straight to your inbox.