首页htmllist_style_positionCSS Property Value - 如何list-style-position: inside;

CSS Property Value - 如何list-style-position: inside;

我们想知道如何list-style-position: inside;

<html>
<head>
<style>
ul {
  list-style-position: outside;
}
ol {
  list-style-position: inside;
}
</style>
</head>
<body>
  <ul>
    <li>This example illustrates how text looks when it wraps onto
      the next line, and uses the list-style-position property. You should
      see the text wrap onto the next line, and this property indicates
      where the new line begins.</li>
  </ul>
  <ol>
    <li>This example illustrates how text looks when it wraps onto
      the next line, and uses the list-style-position property. You should
      see the text wrap onto the next line, and this property indicates
      where the new line begins.</li>
  </ol>
</body>
</html>