Skip to content

Commit e0e87f0

Browse files
committed
Completed Combining Selectors
1 parent 7f21a5e commit e0e87f0

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

myWork/03-CSS-Fundamentals/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,6 @@ <h4>Related posts</h4>
138138
</ul>
139139
</aside>
140140

141-
<footer>Copyright &copy; 2027 by The Code Magazine.</footer>
141+
<footer><p>Copyright &copy; 2027 by The Code Magazine.</p></footer>
142142
</body>
143143
</html>
Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,41 @@
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: 25px;
15-
font-family: sans-serif;
1622
}
1723

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

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

3135
li {
3236
font-size: 15px;
33-
font-family: sans-serif;
37+
}
38+
39+
footer p {
40+
font-size: 14px;
3441
}

0 commit comments

Comments
 (0)