title: add CSS to the parent element
body: <p>I have the following HTML example code:</p>
  
  <pre><code>&lt;div&gt;
      &lt;span class="foo"&gt;
  &lt;/div&gt;
  
  &lt;div&gt;
      &lt;span class="moo"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to add some CSS styles to the div that contains a child with <code>moo</code> class.
  Can I add a style to an element, when containing a specific child, with CSS only ?</p>