reading-notes

Reading Notes for Codefellows!


Project maintained by AlanYHung Hosted on GitHub Pages — Theme by mattgraham

Code 102

Reading 05

Introducing CSS

  1. CSS is used to help indicate how each section of the web page should look.
  2. Selectors specify the parts that rules apply to
  3. Declarations indicate how parts should look like
  4. Declarations are made up of 2 parts
    • The properties of the part you are going to change
    • The values of the properties
  5. CSS Rules usually have their own page, but may be used in same page as HTML

Color

  1. Three Ways to specify color
    • RGB Values
    • Hex Codes
    • Color Names
  2. Color Pickers can help you find the color you want
  3. Contrast is important between Background and Foreground to ensure your site can be easily Read
  4. CSS3 has introduced a new color functions
    • RBGA (Allows you to change Opacity) (RGBA stands for Red Blue Green Alpha)
    • HSL (Hue, Saturation, Lightness)
    • HSLA (Allows you to change Opacity)
  5. Alpha values range between 0 and 1.0 (Not Transparent to Transparent)

<– Back