Logo MART 341 Intro-Web-Dev
  • Modules
    • Week 1
    • Week 2
    • Week 3
    • Week 4
    • Week 5
    • Week 6
    • Week 7
    • Week 8
    • Week 9
    • Week 10
    • Week 11
    • Week 12
    • Week 13
    • Week 14
  • FAQ
  • About

CSS Fundamentals

Topic Overview

The Anatomy of Style

Select and Declare Elements and Rules Property and Value The Anatomy of Style TODO

Style Guide

Where to Style The Style Attribute The Style Element The Style Document TODO

CSS Documents

Directory Placement The <link> Tag Relationship Type Href The <link> Element TODO

CSS Applied

Comments in CSS Understanding Styling Applying Style TODO

Selector Types

Universal Selectors Element Selectors Class Selectors ID Selectors TODO

Cascading

Cascading in CSS Rules Order Specificity Setting Importance TODO

Exploring Color

Specifying Color Color Names RGB Values Hex Codes Saturated Color Desaturated Color (Grayscale) Combining Colors TODO

Using Color

Background Color Text Color Opacity Basic Positioning Learn More TODO

Saturated Color

For example: to specify a color of full red in either system, we set the first number to 255, and the other two to 0. Likewise, to specify a color of full green or full blue, use a value of 255 for the color in question, and 0 for the others:

  • Name: red;
  • RGB: rgb(255, 0, 0);
  • Hex: #ff0000;


  • Name: green;
  • RGB: rgb(0, 255, 0);
  • Hex: ##00ff00;


  • Name: blue;
  • RGB: rgb(0, 0, 255);
  • Hex: #0000ff;



  • ← Previous
  • Next →

MART 341 Intro-Web-Dev © 2021