Advanced CSS selectors

> means “is a child element of“. So body > *:not(.toolbar) matches *:not(.toolbar) that is a child of body. *:not(.toolbar) matches any element that does not have the class .toolbar. *[selected=”true”] matches any element

Read more

CSS – element.classname

<style> a.ex1:hover,a.ex1:active {color:red;} a.ex2:hover,a.ex2:active {font-size:150%;} a.ex3:hover,a.ex3:active {background:red;} a.ex4:hover,a.ex4:active {font-family:monospace;} a.ex5:visited,a.ex5:link {text-decoration:none;} a.ex5:hover,a.ex5:active {text-decoration:underline;} </style> </head> <body> <p>Mouse over the links to see them change layout.</p>

Read more