- Make a copy of
css-history.html
and name itfirstname-lastname.html
(e.g tom-kraak.html.) - View the document locally in your favorite browser.
- Create a stylesheet document and name it
firstname-lastname.css
. Make sure you are in your repo. - Wire up your CSS file as an external stylesheet for the HTML document you created above.
- Use a tag selector to color the headline red.
- Use an ID selector to color the very first list item green.
- Use a class selector to set all dates/years to bold and italic.
- Use a child selector to color the
Font information can be used to download font subsets over the Web
list item pink. - Use a descendant selector to give all
<blockquotes>
a gray background color. - BONUS: Set the entire document in a
sans-serif
font and sensibleline-height
of your choosing.
- Remember to commit only related changes, write well crafted commit messages, and commit often
- Hand the exercise in by submitting a pull request