HTML and CSS Reference
In-Depth Information
}
a {
color: #c00;
font-weight: bold;
}
#tagline {
font-style: italic;
color: #c00;
}
… you would write this:
/*------------------------------------*\
$TYPE
\*------------------------------------*/
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
}
a {
font-weight: bold;
}
#tagline {
font-style: italic;
}
/*------------------------------------*\
$SHARED
\*------------------------------------*/
h1, h2, a, #tagline {
color:#c00;
}
Search WWH ::




Custom Search