<ul>
  <li>Item</li>
  <li>Item</li>
  <li>Item</li>  
</ul>

<ul>
  <li>Item</li>
  <li>Item</li>
  <li>Item</li>  
</ul>
body {
  padding-left: 50px;  
}

ul:nth-of-type(1) {
  list-style-position: inside;
  padding: 0;
  border-left: solid 2px red;
}

ul:nth-of-type(2) {
  list-style-position: outside;
  padding: 0;
  border-left: solid 2px red;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js