Table of Contents

CSS integration

CSS components

CSS language structure

terms and concepts

Learn css property by demo:

The Selectors

  1. Class
    • Easy to use and wide applicable
    • use it when it will be applied very general
  2. tag
    • redefine the default properties of html
  3. ID (pseudo-class)
    • use it when it will be applied only to one element or one location, with special purpose; (like navigation bar, content area)
    • for structure setup

Benefit of CSS in external file

Common Question and Misunderstanding

Advanced - CSS Workflow

  1. reset CSS script?
     *{  
        margin:0;
        padding:0;
        border-width:0;
     }
  2. CSS with “Web Developer Toolbar

Example and ready-to-use

pre-defined color table in CSS: http://www.w3schools.com/cssref/css_colornames.asp

css override example

form style

table style

Here is a interactive style play tool: http://www.somacon.com/p141.php

ref: http://www.smashingmagazine.com/2008/08/13/top-10-css-table-designs/

flex layout for elements

Page Layout

text background color bar strike through

Real CSS tricks

CSS template

Table Style

CSS3

css3 animation