.main-list{list-style-type:none;counter-reset:main-counter}.main-list>li{counter-increment:main-counter}.main-list>li:before{content:counter(main-counter) ". "}.sub-list{list-style-type:none;counter-reset:sub-counter}.sub-list>li{counter-increment:sub-counter}.sub-list>li:before{content:counter(main-counter) "." counter(sub-counter) " "}