Skip to content

Commit b906282

Browse files
张欧文张欧文
张欧文
authored and
张欧文
committed
finish course 025 combine selectors
1 parent c5ef753 commit b906282

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

starter/03-CSS-Fundamentals/style.css

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,45 @@
1+
h1,
2+
h2,
3+
h3,
4+
h4,
5+
p,
6+
li {
7+
font-family: sans-serif;
8+
}
9+
110
h1 {
211
font-size: 26px;
3-
font-family: sans-serif;
412
text-transform: uppercase;
513
font-style: italic;
614
}
715

816
h2 {
917
font-size: 40px;
10-
font-family: sans-serif;
1118
}
1219

1320
h3 {
1421
font-size: 30px;
15-
font-family: sans-serif;
1622
}
1723

1824
h4 {
1925
font-size: 20px;
20-
font-family: sans-serif;
2126
text-transform: uppercase;
2227
text-align: center;
2328
}
2429

2530
p {
2631
font-size: 22px;
27-
font-family: sans-serif;
2832
line-height: 1.5;
2933
}
3034

3135
li {
3236
font-size: 20px;
33-
font-family: sans-serif;
37+
}
38+
39+
footer p {
40+
font-size: 16px;
41+
}
42+
43+
article header p {
44+
font-style: italic;
3445
}

0 commit comments

Comments
 (0)