diff --git a/starter/03-CSS-Fundamentals/index.html b/starter/03-CSS-Fundamentals/index.html index df8a623a8..bd8f745af 100644 --- a/starter/03-CSS-Fundamentals/index.html +++ b/starter/03-CSS-Fundamentals/index.html @@ -3,6 +3,7 @@ The Basic Language of the Web: HTML + @@ -141,6 +142,9 @@

Related posts

- + diff --git a/starter/03-CSS-Fundamentals/style.css b/starter/03-CSS-Fundamentals/style.css new file mode 100644 index 000000000..8bae2e8a4 --- /dev/null +++ b/starter/03-CSS-Fundamentals/style.css @@ -0,0 +1,48 @@ +h1, +h2, +h3, +h4, +p, +li { + font-family: sans-serif; +} + +h1 { + font-size: 32px; + line-height: 1.5; + text-transform: uppercase; + font-style: italic; +} + +h2 { + font-size: 28px; + line-height: 1.5; + text-transform: uppercase; +} + +h3 { + font-size: 24px; + line-height: 1.5; + text-transform: uppercase; +} + +h4 { + font-size: 18px; + line-height: 1.5; + text-transform: uppercase; +} + +li { + font-size: 18px; + line-height: 1.5; +} + +p { + font-size: 22px; + line-height: 1.5; +} + +/* descendent selector, select paragraphs in footers and set it's font size to 16px */ +footer p { + font-size: 16px; +}