Introduction to CSS

CSS stands for Cascading Style Sheets.

This is because styling is usually done starting from the outermost element and cascading to the innermost element.

CSS styles can either be:

  • Inline
  • Internal
  • External file

Text Formatting

Font-Family

Font-Size

Color

Background-Color

Text-Align

Line-Height

Margin 

Padding

CSS Colors

 

Color Alternatives:

White (ffffff)

  • Snow drift: f8fbf8
  • Snow white: f0f0ec
  • Rice: faf5ef
  • Powdered sugar: fdfcfa
  • Milk: fdfff5
  • Frost: f4f8ff
  • Egg Shell: f8feff
  • Winter: f9fdfe
  • Blanc de Blanc: efefef
  • Platinum: f5f5f5

Black (000000)

  • Vampire black: 0f0404
  • Panda Black: 3c4748
  • Chocolate: 1b1811
  • Woodsmoke: 2b3230
  • Metropolis: 1a1a1a

Orange (ffa500)

  • Tiger: f96815
  • Irish orange: f5883f
  • Pumpkin: ff7518
  • Dusty orange: e27a53
  • Spring Orange: fd963d