HTML and CSS Reference
In-Depth Information
Figure 7-23. The closed view with no new styles applied
Adding Styles
Tweak the headline and copy styles by updating the two existing rules to include h3 , add a new h3 rule, and amend p ,
as shown in the following “Basic Font Styles” section of main.css :
h1,h2,h3,#questions li:before {
font-family: 'Cooper Black W01';
font-weight: normal;
}
h2,h3 { text-shadow: 0 0 10px rgba(31, 27, 12, .3); }
h3 {
margin: 0 365px .75em 0;
font-size: 1.875em;
line-height: 1em;
letter-spacing: -.08em;
text-align: center;
}
 
Search WWH ::




Custom Search