Looking to create a CSS rule that applies to all forms except for one with a specific action.
Currently, I have the following CSS code that hides all #NavMenu forms but shows them for the search form:
form #NavMenu{
display:none;
}
form[action*='Search'] #NavMenu{
display:block;
}
Is there a way to target all forms except for the search form using a similar method like:
form:not(form[action*='search']) #NavMenu{
display:none;
}