title: Prevent a cascade with CSS
body: <p>Suppose I have the HTML below. Is there any way to prevent the background-color cascading into the inner table? <strong>I.E.</strong> leaving the HTML exactly as it is and only modifying the CSS class can I achieve this:</p>
  
  <p><a href="https://i.stack.imgur.com/2QmeA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2QmeA.png" alt="enter image description here"></a></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>.myClass table {
    background-color: red;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body&gt;
    &lt;div class="myClass"&gt;
      &lt;table&gt;
        &lt;tr&gt;
          &lt;td&gt;
            &lt;div&gt;
              &lt;table&gt;
                &lt;tr&gt;
                  &lt;td&gt;Hello&lt;/td&gt;
                &lt;/tr&gt;
              &lt;/table&gt;
            &lt;/div&gt;
          &lt;/td&gt;
          &lt;td&gt;World&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/table&gt;
    &lt;/div&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>