Css list with curly brackets

ol {
  counter-reset: list;
}
ol > li {
  list-style: none;
}
ol > li:before {
  content: counter(list) ") ";
  counter-increment: list;
}

Output:
1) Number1
2) Number2
3) Number3

Leave a Reply