CSS Day 1
Practice resource websites:
Codeacademy.com
w3schools.com
What is CSS?
cascading style sheets
“Rule” for HTML elements
selector {property:value; property: value;}
h1 {
property: value;
property: value;
}
SELECTORS:
1. TAGS
2. ID – always preceded by # (hash tag)
#nameofrule
ID applied once per html document
3. CLASS – always preceded by a . (period)
.nameofrule
Class applied infinite per html document