title: select all forms except one without specific action using css
body: <p>I need to write a css rule for all forms except for the form with a specific action,</p>
  
  <p>Currently I have the below css, for all #NavMenu, I am hiding them, but for search, I want to show them.</p>
  
  <pre><code>form #NavMenu{
  display:none;
  }
  form[action*='Search'] #NavMenu{
  display:block;
  }
  </code></pre>
  
  <p>Is there a way where I can specify all forms but not this, like</p>
  
  <pre><code>form:not(form[action*='search']) #NavMenu{
  display:none;
  }
  </code></pre>