Script

Version 1.0

Introduction

CSS Basics

CSS selectors
div ( tag )
.kitten-headline ( class )
#tabby ( id )
CSS units

color
dimensions

Positioning

position: absolute / relative ;

margin: 20px / 5% ;

padding: 1em ;

float: left / right / none ;

clear: both ;

display: block / inline / none ;

top / left / width / height: 20px / 10% ;

Background

background-color: red / rgb(100%, 0%, 0%) / hsla(170, 50%, 45%, 1) ;

background-image: url( "media/cat.jpg" ) ;

opacity: 1 / .5 / 0 ;

Border

border-width: 2px / none ;

border-color: red / rgb(100%, 0%, 0%) ;

border-style: solid / dashed / dotted ;

Text

font-family: verdana / Century Gothic ;

color: red / rgb(100%, 0%, 0%) ;

font-size: 12px / 1.2em ;

text-decoration: none / underline ;

font-weight: normal / bold ;