Is it possible to apply a CSS style to the container element? : <p>I am looking for a selector which applies to any div element that contains an element identified by the p.my selector</p>

<pre><code>&lt;div&gt;
 &lt;p class="my"&gt;
  prova
 &lt;/p&gt;
&lt;/div&gt;
</code></pre>
