我在CSS中设置了list-style-type
,但由于某种原因,它没有显示它。CSS list-style-type not working
body {
margin: 0;
}
ol {
list-style-type: decimal;
padding-left: 0;
}
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
检查您的保证金和填充... – yckart