title: CSS for elements that have certain children elements?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1014861/is-there-a-css-parent-selector">Is there a CSS parent selector?</a>  </p>
  </blockquote>
  
  
  
  <p>Lets say I have this html</p>
  
  <pre><code>&lt;div class="house"&gt;&lt;span class="zombie"/&gt;&lt;/div&gt;
  &lt;div class="house"&gt;&lt;span class="vampire"/&gt;&lt;/div&gt;
  &lt;div class="house"&gt;&lt;span class="zombie"/&gt;&lt;/div&gt;
  </code></pre>
  
  <p>How could I write a bit of CSS to target "div .house" that only has children with "span .vampire"? And "div .house" might not always be the direct parent of "span .zombie"</p>