HTML/CSS

From Things and Stuff Wiki
Revision as of 04:44, 29 February 2012 by Milk (talk | contribs)
Jump to navigation Jump to search


CSS

tag
.class
#id
display: block - default 100% width, flows vertically
display: inline - consumes width of content, flows horizontally
display: inline-block
  http://www.quirksmode.org/css/display.html
float - floats element next to containing box or other floated element
position: absolute - out of flow
rgba(0, 0, 0, 0.2) - shadow

Tips

background

Resets, etc.

Grid

Vertical rhythm

Typography

Header, footer

Menus

Gradients

Misc