File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,8 @@ <h4>Related posts</h4>
150
150
</ ul >
151
151
</ aside >
152
152
153
- < footer > Copyright © 2027 by The Code Magazine.</ footer >
153
+ < footer >
154
+ < p > Copyright © 2027 by The Code Magazine.</ p >
155
+ </ footer >
154
156
</ body >
155
157
</ html >
Original file line number Diff line number Diff line change
1
+ h1 ,
2
+ h2 ,
3
+ h3 ,
4
+ h4 ,
5
+ p ,
6
+ li {
7
+ font-family : sans-serif;
8
+ }
9
+
1
10
h1 {
2
11
font-size : 26px ;
3
- font-family : sans-serif;
4
12
text-transform : uppercase;
5
13
font-style : italic;
6
14
}
32
40
font-family : sans-serif;
33
41
font-size : 20px ;
34
42
}
43
+
44
+ /* css descendants are actually a bad practice */
45
+ footer p {
46
+ font-size : 16px ;
47
+ }
48
+
49
+ /* css descendants are actually a bad practice */
50
+ article header p {
51
+ font-style : italic;
52
+ }
You can’t perform that action at this time.
0 commit comments