Design

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


Basics

HTML5 page outlines

CSS

tag
.class
#id
display: block - default 100% width, flows vertically
display: inline - consumes width of content, flows horizontally
float - floats element next to containing box or other floated element
position: absolute - out of flow

Header, footer

Grid

Typography

Accessibility

Headings should not be removed using display:none, because it removes the headings from assistive technology. Instead headings can be made invisible to sighted users using CSS class="element-invisible". [1]

Gradients