2.4.2 base.lists.ol Ordered list

Toggle example guides Toggle HTML markup

The <ol> element is a list of items in which the order does explicitly matter.

Example
  1. Sit Ullamcorper Ultricies
  2. Tortor
  3. Mollis
  4. Dolor
    1. Cursus
    2. Cras
    3. Pellentesque
    4. Egestas Sem
  5. Cursus Malesuada
  6. Fermentum Tellus
Markup: 01-base/lists/ol.twig
<ol>
  <li>Sit Ullamcorper Ultricies</li>
  <li>Tortor</li>
  <li>Mollis</li>
  <li>Dolor
    <ol>
      <li>Cursus</li>
      <li>Cras</li>
      <li>Pellentesque</li>
      <li>Egestas Sem</li>
    </ol>
  </li>
  <li>Cursus Malesuada</li>
  <li>Fermentum Tellus</li>
</ol>
Source: 01-base/lists/_lists.scss, line 16