HTML and CSS Reference
In-Depth Information
Click here to view code image
1. <section class="hero container" >
2. ...
3. </section>
Next we'll want to create a new section within our CSS file for home page styles,
and, once we're ready, we'll use the class of hero to apply padding around all
four sides of the <section> element.
Click here to view code image
1. /*
2. ========================================
3. Home
4. ========================================
5. */
6.
7. .hero {
8. padding: 22px 80px 66px 80px;
9. }
Our website is starting to come together, especially the home page, as shown in Figure 4.8 .
Search WWH ::




Custom Search