gsa*_*ras 1 css jquery css3 html-lists jquery-mobile
我找到了很多答案,但在我的案例中都没有.这是我的jsfiddle.如何去除点?
以下是我所有尝试的基础:
ol {
counter-reset: item;
display: inline-block;
list-style-type: none;
}
Run Code Online (Sandbox Code Playgroud)
更改jQuery mobile css中的行所在的位置:
content: counter(listnumbering) ".";
Run Code Online (Sandbox Code Playgroud)
至
content: counter(listnumbering);
Run Code Online (Sandbox Code Playgroud)
或者简单地覆盖UI移动样式添加:
ol.ui-listview>li>.ui-btn:first-child:before,
ol.ui-listview>li.ui-li-static:before,
ol.ui-listview>li.ui-field-contain>label:before,
ol.ui-listview>li.ui-field-contain>.ui-controlgroup-label:before{
content: counter(listnumbering) !important;
}
Run Code Online (Sandbox Code Playgroud)