In this lesson you set the CSS layout and default styling the page container div
element.
h1
, h2
and h3
elements.Add lines 3-12 to the end of the site.css
file in your practice folder, then save.
These element selectors share the same base properties.
There are no changes in the index.html
file from the last lesson. The lines that are impacted by the CSS changes are highlighted.
Completed Step 1
header
element CSS selector and properties.Add lines 21-28 to the end of the site.css
file in your practice folder, then save.
The header
is an semantic element added with HTML5.
There are no changes in the index.html
file from the last step. The line that is impacted by the CSS changes is highlighted.
Completed Lesson