title: Enlarge on mobile view
body: <p>How to fit table on mobile view?</p>
  
  <p>I want:
  <a href="https://i.stack.imgur.com/YkKAW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YkKAW.png" alt="enter image description here"></a></p>
  
  <hr>
  
  <blockquote>
    <p>But it is as:</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/GW5mX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GW5mX.png" alt="enter image description here"></a></p>
  
  <hr>
  
  <p>My codes:</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-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" /&gt;
  &lt;div class="container"&gt;
    &lt;h2&gt;Text:&lt;/h2&gt;
    &lt;table class="table table-bordered table-dark"&gt;
      &lt;tbody&gt;
        &lt;tr&gt;
          &lt;td&gt;Name&lt;/td&gt;
          &lt;td&gt;Text&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;Text&lt;/td&gt;
          &lt;td&gt;Text&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;Text&lt;/td&gt;
          &lt;td&gt;Text text text text text&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;td&gt;Text&lt;/td&gt;
          &lt;td&gt;Text&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
    &lt;a href="" class="btn btn-danger float-left"&gt;Select&lt;/a&gt;&lt;a href="" class="btn btn-success float-right"&gt;Go Ahead&lt;/a&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <hr>
  
  <p>How to fit table on mobile view?
  The result for the above codes is not readable properly, we have to zoom it!</p>