首页htmlui_olHTML Element Style - 如何附加点到列表子项

HTML Element Style - 如何附加点到列表子项

我们想知道如何附加点到列表子项。


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
li>span:nth-child(2):before {
  content: '\2026\0020';
}
</style>
</head>
<body>
  <li><span>Some text</span> <span>Some large amount of text</span>
  </li>
</body>
</html>