CSS v3.5 Cristi Salcescu Insert style : o external, internal, inline o order Syntax Selectors o tag o class o id o parent child o parent > child o .class1.class2 o prev + next o prev ~ next Selector priority o 1,10,100 o important! Attribute Selectors o [attribute=value] o [attribute^=value] o [attribute$=value] o [attribute~=value] o [attribute1] [attributeN] CSS3 Pseudo-classes o nth-child o nth-last-child Box Model o Content, Padding,Border, Margin o Center element o Child dimensions grater that parent dimensions overflow : visible, hidden, scroll, auto Vertical Margin Collapse em percentage normal document flow o inline vs block elements display : block, inline, inline-block, none display : none vs visibility:hidden debugging tools : Firebug & Web Inspector floated layout
-
-
-
-
-
-
-
-
o float:left,right o clear:left,right,both o container collapse o float and text o float inline elements o 2 column layout height o auto, 100% o min-height o equal height columns position : static, relative, absolute, fixed z-index opacity, rgba sprites layouts : o fixed layout o flexible layout percent min-width o responsive layout media queries