s72
  • Steps

    data-steps

    An <ol data-steps> is a numbered run of stages across the page. data-state="done" ticks a finished step; aria-current="step" marks the one in hand.

    Basic

    1. Install atlas
    2. Build the site
    3. Check the links
    4. Deploy
    html
    <ol data-steps>
      <li data-state="done">Install atlas</li>
      <li data-state="done">Build the site</li>
      <li aria-current="step">Check the links</li>
      <li>Deploy</li>
    </ol>

    The numbers come from a CSS counter, so the list items hold nothing but their labels.

    Notes