Unordered List with indented text

by davidxmartins

HTML

<html>
<head>
  <style>
    ul {
      list-style-position: inside;
      padding-left: 0;
    }
    li {
      text-indent: -22px;
      padding-left: 40px;
    }
  </style>
</head>
<body>

  <h2>Unordered List with indented text</h2>
  <ul>
    <li>Bhis is a line of text that is going to wrap onto the next line. You'll see that the start of this line will align with the start of the bulleted list above.</li>
    <li>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Laborum, voluptate.</li>
    <li>Praesentium, harum repellat? Delectus, similique harum nisi suscipit velit natus.</li>
  </ul>

</body>
</html>