解决方法
以下代码可帮助您理解.
Here’s a JSFiddle demo.
li:before { content: '✔'; margin-left: -1em; margin-right: .100em; } ul { padding-left: 20px; text-indent: 2px; list-style: none; list-style-position: outside; }
请参阅此链接以获得刻度线:http://amp-what.com/#q=check%20mark