css计数器详解

就是采用css给一些html元素自动生成编号,好比相似1.3.2这种,先看个效果:css 对,就是这种相似Word里面很常见的效果,代码以下:html <style type="text/css"> #demo1 ol { counter-reset: section; list-style-type: none; } #demo1 ol li { counter-increment: secti
相关文章
相关标签/搜索