diff --git a/foundations/intro-to-css/01-css-methods/index.html b/foundations/intro-to-css/01-css-methods/index.html index effe3cc3db01..e3266844858c 100644 --- a/foundations/intro-to-css/01-css-methods/index.html +++ b/foundations/intro-to-css/01-css-methods/index.html @@ -5,10 +5,17 @@ Methods for Adding CSS + + +
Style me via the external method!

I would like to be styled with the internal method, please.

- + - \ No newline at end of file + diff --git a/foundations/intro-to-css/01-css-methods/style.css b/foundations/intro-to-css/01-css-methods/style.css new file mode 100644 index 000000000000..5b5436e8740e --- /dev/null +++ b/foundations/intro-to-css/01-css-methods/style.css @@ -0,0 +1,3 @@ +div { + color: blue; +} diff --git a/foundations/intro-to-css/02-class-id-selectors/index.html b/foundations/intro-to-css/02-class-id-selectors/index.html index 263042ae92a0..63888374deec 100644 --- a/foundations/intro-to-css/02-class-id-selectors/index.html +++ b/foundations/intro-to-css/02-class-id-selectors/index.html @@ -8,10 +8,10 @@ -

Number 1 - I'm a class!

-
Number 2 - I'm one ID.
-

Number 3 - I'm a class, but cooler!

-
Number 4 - I'm another ID.
-

Number 5 - I'm a class!

+

Number 1 - I'm a class!

+
Number 2 - I'm one ID.
+

Number 3 - I'm a class, but cooler!

+
Number 4 - I'm another ID.
+

Number 5 - I'm a class!

\ No newline at end of file diff --git a/foundations/intro-to-css/02-class-id-selectors/style.css b/foundations/intro-to-css/02-class-id-selectors/style.css index d55c2c5c7090..b8fea6c19e65 100644 --- a/foundations/intro-to-css/02-class-id-selectors/style.css +++ b/foundations/intro-to-css/02-class-id-selectors/style.css @@ -1 +1,23 @@ -/* Add CSS Styling */ \ No newline at end of file +/* All odd class elements */ +.odd { + background-color: light pink; + font-family: verdana, DejaVu Sans, sans-serif; +} + +/* The cooler one (Number 3) */ +.cool { + font-size: 24px; + +} + +/* ID for Number 2 */ +#two { + color: blue; + font-size: 36px; +} + +/* ID for Number 4 */ +#four { + background-color: lightgreen; + font-weight: bold; +} \ No newline at end of file