Skip to content

Commit cccb8a1

Browse files
committed
Combining selectors
1 parent bb8d055 commit cccb8a1

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

starter/03-CSS-Fundamentals/style.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,33 @@
1+
h1,
2+
h2,
3+
h3,
4+
h4,
5+
p,
6+
li {
7+
font-family: sans-serif;
8+
}
9+
110
h1 {
211
color: blue;
312
font-size: 26px;
4-
font-family: sans-serif;
513
text-transform: uppercase;
614
font-style: italic;
715
}
816
h2 {
917
font-size: 40px;
10-
font-family: sans-serif;
1118
}
1219
h3 {
1320
font-size: 30px;
14-
font-family: sans-serif;
1521
}
1622
h4 {
1723
font-size: 20px;
18-
font-family: sans-serif;
1924
text-transform: uppercase;
2025
text-align: center;
2126
}
2227
p {
2328
font-size: 22px;
24-
font-family: sans-serif;
2529
line-height: 1.5;
2630
}
2731
li {
28-
font-family: sans-serif;
2932
font-size: 20px;
3033
}

0 commit comments

Comments
 (0)