title: CSS resize horizontal?
body: <p>I want to have a box (div or textarea or another element) that the user can click the right border of and drag the right side border to make the box smaller or larger. </p>
  
  <p>I have been able to create a div that with the css "resize: horizontal;" attribute,  but I can't find a way to style the grabber so it is aligned on the right border of the element.</p>
  
  <p>This is the closest I have been able to get.
  I would prefer to not have to use javascript and
  I definitely don't want to include an external package or library just to achieve this. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>textarea {
    resize: horizontal; 
  }  
  ::-webkit-resizer {
     border-left: 1px solid black;
     border-right: 1px solid black;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;textarea&gt;some text here.&lt;/textarea&gt;</code></pre>
  </div>
  </div>
  </p>