title: Mouse click and Drag Instead of Horizontal Scroll bar( To view full content of child Div)
body: <p>I need Mouse click and Drag instead of Horizontal scroll bar.</p>
  <p><img src="https://i.stack.imgur.com/ZHGPs.jpg" alt="Reference image" />
  <strong>When i click and drag the child div that should move on left/right respect to dragging direction.</strong></p>
  <p>Any solution with css or jquery/JS</p>
  <p>My code:</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>.parent{
    width:300px;
    border:5px sold red;
    overflow:hihdden; 
    float:left;
  }
  .child{
    width:1000px;
    float:left;
    font-size:15px;
    font-family:arial;
    padding:10px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="parent"&gt;
      &lt;div class="child"&gt;    
  Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum        
          
      &lt;/div&gt;
      
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>