修改 标签 ol 前面默认展示“.”的样式

改变前:

css代码:

ol{
    height: 417px;
    overflow: auto;
    padding: 0;
    counter-reset: sectioncounter;
    > li:before {
    content: counter(sectioncounter) '、'; // 把“.”修改成“、”
    counter-increment: sectioncounter;
    }
}

改变后:

猜你喜欢

转载自blog.csdn.net/m0_56276571/article/details/125913437