ol {
    counter-reset: item
  }
  
  ol li {
    display: block
  }
  
  ol li:before {
    content: counters(item, ".") ". ";
    counter-increment: item
  }
  
  ol[style*="list-style-type: lower-alpha;"] li:before {
    content: counters(item, ".", lower-alpha) ". ";
    counter-increment: item
  }
