自动列表排序.html

  1. 法规及传法规及干活他人符合
  2. 法规及传法规及干活他人符合
  3. 法规及传法规及干活他人符合
  4. 法规及传法规及干活他人符合
  5. 法规及传法规及干活他人符合
  6. 法规及传法规及干活他人符合
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <style>
            ol.chapters {
                list-style: none;
                margin-left: 0;
            }
            
            ol.chapters > li:before {
                content: counter(chapter) ". ";
                counter-increment: chapter;
                font-weight: bold;
                float: left;
                 40px;
            }
            
            ol.chapters li {
                clear: left;
            }
            
            ol.start {
                    counter-reset: chapter;
            }
            
            ol.continue {
                    counter-reset: chapter 11;
            }
        </style>
    </head>
    <body>
        <ol>
            <li>法规及传法规及干活他人符合</li><li>法规及传法规及干活他人符合</li>
            <li>法规及传法规及干活他人符合</li><li>法规及传法规及干活他人符合</li>
            <li>法规及传法规及干活他人符合</li><li>法规及传法规及干活他人符合</li>
        </ol>
    </body>
</html>
原文地址:https://www.cnblogs.com/zhanghailing/p/11995031.html