Yog*_*ogi 2 html css iphone uiwebview html-lists
我正在开发一个iPhone应用程序,我在UIWebView中加载HTML内容.我想创建一个像这种格式的列表:
(1)第1项
(2)第2项
(3)第3项
ol {list-style-type: none;}
li:before {content: "(" counter(section, lower-alpha) ") ";}
li { counter-increment: section;}
Run Code Online (Sandbox Code Playgroud)
在这里测试:http://jsfiddle.net/Chumillas/NbNvy/
| 归档时间: |
|
| 查看次数: |
476 次 |
| 最近记录: |