📜  如何在css代码示例中仅更改项目符号颜色

📅  最后修改于: 2022-03-11 14:47:43.193000             🧑  作者: Mango

代码示例2
li::before {content: counter(li); color: red;
  display: inline-block; width: 1em;
  margin-left: -1em}