由于我没有及时得到有价值的答案,我现在会自己回答,我发现一些实验的解决方案只花了我几个小时,因为我不熟悉这种情况。
body { counter-reset: h21 h22 h23; }
.flex-container:before {
counter-increment: h22;
content: counter(h22) ". ";
min-width: 0.8cm;
margin-left: -0.8cm;
position: absolute;
}
.flex-container {
position: relative;
padding-left: 0.8cm;
font-size: 11pt;
font-weight: normal;
margin: 0px;
padding-bottom: 11pt;
/*disabled by me because if we choose flex this can't render right as it treats tags as cols*/
}
https://codepen.io/frank-dspeed/pen/xMOagZ