Difference between revisions of "HTML/CSS"
Jump to navigation
Jump to search
Line 48: | Line 48: | ||
=== Gradients === | === Gradients === | ||
* [http://www.colorzilla.com/gradient-editor/ ColorZilla Ultimate CSS Gradient Generator] | * [http://www.colorzilla.com/gradient-editor/ ColorZilla Ultimate CSS Gradient Generator] | ||
+ | |||
+ | === Misc === | ||
+ | * http://mathiasbynens.be/notes/css-without-html |
Revision as of 20:33, 20 February 2012
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
Tips
Resets, etc.
Grid
- http://blog.centresource.com/2009/06/15/6-tips-and-tricks-for-designing-with-960/
- http://divitodesign.com/css/tricks-to-solve-960-css-framework-problems/
Vertical rhythm
- http://webtypography.net/toc#Vertical_Motion
- http://24ways.org/2006/compose-to-a-vertical-rhythm - oft' linked to
- https://github.com/pyrsmk/vertical-rhythmic - sass mixins (no sure if worth it)
Typography
- CSS with vertical rhythm - drewish.com
- Scale & Rhythm