Design

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


Basics

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

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