More Related Content
More from web marketing (20)
Csscheatsheet
- 1. CSS Shorthand Cheat Sheet
margin, padding, border-width, outline-width:
specifying 4
parameters:
1un 2un 3un 4un
1un border-color, outline-color: #xxx #xxx #xxx
border-style, outline-style:
solid dotted dashed d
4un 2un specifying less than 4 parameters:
1un
(one:)
2u
1un 1un 2un n
3un 1un 3un
border, border-left, border-right, border-top, border-bottom:
default: medium none #xxx; (leave style out & it
(width) (style) (color) making the wi
example: 3px solid #888;
list-style: default: disc outside none; (type becomes default when image not found
(type) (position) (image)
example: square outside url(‘star.pn
background: default: white url(‘back.png’) repeat top left scroll;
(color) (image) (repeat) (position) (scroll)
example: black url(‘starrynight.png’) repeat bottom rig
font: default: normal normal normal inherited-value/normal inherited-value;
(style) (variant) (weight) (size) (line-height) (family)
example: italic small-caps bold 1em/1.2em helvetica neue, helvetica
(do not try this [ugly] exam
pause: cue: col
example:
- 2. pause: 1s; example: cue: url(‘sound.au’); #x
(one attribute sets both (one attribute sets both
pause-before && pause-after!!!) cue-before && cue-after!!!)
copyright 2007 - edwa