title: How to apply child:hover but not parent:hover
body: <p>With the following html, when I hover over child, I get a green background on parent. How can I stop that from happening? I do want the green background if I am hovering outside of the child element.</p>
  
  <p>CSS3 is fine.</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 {
    padding: 100px;
    width: 400px;
    height: 400px;
  }
  
  .parent:hover {
    background-color: green;
  }
  
  .child {
    padding: 100px;
    width: 200px;
    height: 200px;
  }
  
  .child:hover {
    background-color: blue;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="parent"&gt;
    &lt;div class="child"&gt;Child&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>