This is a summarized form of the CSS Tutorial.
For reference this is the CSS2 Specification .
<link rel="stylesheet" type="text/css" href="style.css" />
CSS syntax is made up of three parts - selector {property: value}.
h1,h2,h3 {
text-align: center;
color: black;
font-family: "sans serif" }
input[type="text"] {background-color: blue}
#id {background-color: blue}
p#id {background-color: blue}
background-color: black;
background-image: url('bg.jpg');
background-repeat: repeat-[x|y]/no-repeat/repeat;
background-attachment: fixed
background-position: center/30% 20%/50px 100px;
background: blue url('bg.gif') no-repeat fixed center;
color: #00ff00/green/rgb(0,255,0) ; text-shadow:blue; text-align: center/justify ; text-indent: 1cm; letter-spacing: 0.5cm/-3px ; line-height: 200%; white-space: nowrap ; word-spacing: 30px text-decoration: overline/line-through/underline/blink/none text-transform: uppercase/lowercase/capitalize
font-family; times/sans-serif ; font-size: 130% font-size-adjust: 0.60 ; font-variant: small-caps font-style: italic/normal/oblique font-weight: bold/900 font: italic small-caps 900 12px arial font: caption/icon/menu/message-box/small-caption/status-bar