table
  tbody
    tr
      th item name
      td detail
    tr
      th item name
      td detail
    tr
      th item name
      td detail
View Compiled
table {
  width: 70%;
  margin: 0 auto;
  counter-reset: number;
  tr {
    counter-increment: number;
    th::before {
      border-radius: 50%;
      box-sizing: border-box;
      background-color: gray;
      color: #fff;
      content: counter(number,decimal);
      display: inline-block;
      font-size: 14px;
      width: 16px;
      height: 16px;
      text-align: center;
      margin-right: 5px;
    }
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.