title: Negation rule for p tags that are not inside specific div element
body: <p>This is my sample html. </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div&gt;
  &lt;p&gt;Text with red color&lt;/p&gt;
  &lt;/div&gt;
  &lt;div id="temp"&gt;
  &lt;div style="margin:0px"&gt;
  &lt;p&gt;
  Text without red color
  &lt;/p&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I want to apply "color:red" to all p elements that are not inside "div that has id=temp". </p>
  
  <p>I used CSS negation like below but no luck:</p>
  
  <pre><code>p:not(div[id="temp"] p){
  color:red;
  }
  </code></pre>