title: HTML table responsive 100% width
body: <p>I am trying to make a simple HTML table responsive by giving the 2 tds 100% width at smaller screen sizes, I have this so far...</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>.test1{
  background:teal;
  text-align:center;
  padding:20px;
  }
  
  .test2 {
  background:tan;
  padding:20px;
  text-align:center;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table style="width:100%;"&gt;
  &lt;tr&gt;
  &lt;td style="width:300px;" class="test1"&gt;Test Content&lt;/td&gt;
  &lt;td style="width:300px;" class="test2"&gt;Test Content&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I have tried changing the width to 100% but that isn't working for me, what is the easiest way of doing this in CSS only?  I have no control over the HTML table that is generated.</p>
  
  <p>Can I apply flexbox styling to a table?</p>