首页
Python
Java
PHP
IOS
NodeJS
JavaScript
HTML5
小程序
AI
listCounter
全部标签
html - 自定义有序列表格式
我尝试使用有序列表和每个列表项输出为1.2.3....等等,我希望输出为1)2)3)...等等,这可以做到吗? 最佳答案 您可以,但只能使用更新的浏览器(Chrome、Safari、Firefox和Opera可以):ol{counter-reset:listCounter;}olli{counter-increment:listCounter;}olli:before{content:counter(listCounter)")";} 关于html-自定义有序列表格式,我们在StackO
自定
序列表
section
code
listCounter
html
html - 自定义有序列表格式
我尝试使用有序列表和每个列表项输出为1.2.3....等等,我希望输出为1)2)3)...等等,这可以做到吗? 最佳答案 您可以,但只能使用更新的浏览器(Chrome、Safari、Firefox和Opera可以):ol{counter-reset:listCounter;}olli{counter-increment:listCounter;}olli:before{content:counter(listCounter)")";} 关于html-自定义有序列表格式,我们在StackO
自定
序列表
section
code
listCounter
html
Home
Powered By IT.CAOLU.XIN
页面耗时:0.0633s