use CSS3 not selector to only select elements that are not children of certain element -


for example how change color of p not belong textarea element?

    p {        color: #000;     }     textarea + p {        color: #222;     }     p + textarea {        color: #222;     } 

Comments

Popular posts from this blog

command line - Use qwinsta in PowerShell ISE -

ruby - Net::HTTP extremely slow responses for HTTPS requests -

java - Incorrect order of records in M-M relationship in hibernate -