Skip to content

Commit dc95c5a

Browse files
author
parshurampatil
committed
sentence and list selctors
1 parent 559a275 commit dc95c5a

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

starter/03-CSS-Fundamentals/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,6 @@ <h4>Related posts</h4>
143143
</ul>
144144
</aside>
145145

146-
<footer>Copyright &copy; 2027 by The Code Magazine.</footer>
146+
<footer> <p>Copyright &copy; 2027 by The Code Magazine.</footer></p>
147147
</body>
148148
</html>

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 {
32-
font-family: sans-serif;
3336
font-size: 20px;
3437
}
38+
39+
footer p {
40+
font-size: 16px;
41+
}
42+
43+
article header p {
44+
font-style: italic;
45+
}

0 commit comments

Comments
 (0)