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

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

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -