HTML and CSS Reference
In-Depth Information
Implementing the CSS
Update the existing h1 rule containing font-family and font-weight so the font-family and weight is also applied to h2
tags. Also add additional rules for the second-level headings; general paragraphs; and form, inputs, and labels:
/* Basic Font Styles
----------------------------------------------------------------------------*/
/* Update */
h1, h2 {
font-family: 'Cooper Black W01';
font-weight: normal;
}
/* Unchanged */
h1 {
margin: 0;
color: #fbf7e7;
font-size: 6em;
line-height: 1em;
letter-spacing: -.1em;
}
/* New rules */
h2 { text-shadow: 0 0 10px rgba(31, 27, 12, .3); }
h2 {
margin: 0 0 .5em;
font-size: 2.75em;
line-height: 1em;
letter-spacing: -.08em;
}
p {
text-align: center;
}
form p {
margin: 0 0 1em;
padding: 0;
font-size: 1.375em;
}
label {
font-family: 'NewsGothicNo.2W01-Bold';
font-size: .75em;
line-height: 1.25em;
letter-spacing: .04em;
}
input {
font-family: 'Cooper Black W01';
color: #fbf7e7;
 
Search WWH ::




Custom Search