Lil Regie's front-end workshop


Stripped list

A list with all the padding, margins, and markers removed.

Example

0 375 640 768 1024

Open in a new window

Code sample

1
2
3
4
5
6
7
8
<ol class="list_stripped">
  <li>First item</li>
  <li>
    Second item<br>
    With text on the next line
  </li>
  <li>Third item</li>
</ol>

Usage notes

  • No elements are allowed between the <ol> or <ul> and <li> elements.

  • This style is used in the main menus, and other framework UI lists

Source files