07-11-2008, 10:55 PM
|
#3 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
Nope, that's if you want to style multiple elements.
Code:
/* style all the same */
h1, h2, h3 {
font-weight:700;
color:#222;
}
/* style first adjacent element, so the first p following a p, but not the third, fourth, fifth, etc or first */
p + p {
font-size:2em;
}
|
|
|
|