> 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 moreCSS Pseudo-elements
CSS pseudo-elements are used to add special effects to some selectors. Syntax The syntax of pseudo-elements: selector:pseudo-element {property:value;} CSS classes can also be used with
Read moreCSS – 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 moreCSS – hover, when should it appear… not working at the end of the css file
Hover css must be declared right after normal css definitions for the same element.
Read moreCSS Positioning
Great explanation taken from: http://www.w3schools.com/css/css_positioning.asp Positioning The CSS positioning properties allow you to position an element. It can also place an element behind another, and specify
Read moreCSS Syntax Comments Id and Class
CSS Syntax A CSS rule has two main parts: a selector, and one or more declarations: The selector is normally the HTML element you want
Read more