File tree 2 files changed +8
-2
lines changed
starter/03-CSS-Fundamentals
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ <h4>Related posts</h4>
138
138
src ="img/related-1.jpg "
139
139
alt ="Person programming "
140
140
width ="75 "
141
- width ="75 "
141
+ height ="75 "
142
142
/>
143
143
< a href ="# "> How to Learn Web Development</ a >
144
144
< p class ="related-author "> By Jonas Schmedtmann</ p >
@@ -148,7 +148,7 @@ <h4>Related posts</h4>
148
148
src ="img/related-2.jpg "
149
149
alt ="Lightning "
150
150
width ="75 "
151
- heigth ="75 "
151
+ height ="75 "
152
152
/>
153
153
< a href ="# "> The Unknown Powers of CSS</ a >
154
154
< p class ="related-author "> By Jim Dillon</ p >
Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ a:active {
204
204
height : auto;
205
205
}
206
206
207
+ /* Good Selector Example */
207
208
nav a : link {
208
209
/* Inline To Block level Elements Behavior Demo */
209
210
/* background-color: orangered;
@@ -216,6 +217,11 @@ nav a:link {
216
217
display : inline-block;
217
218
}
218
219
220
+ /* Antipattern Selector Example */
221
+ /* .main-header nav a:link {
222
+ margin-top: 100px;
223
+ } */
224
+
219
225
nav a : link : last-child {
220
226
margin-right : 0 ;
221
227
}
You can’t perform that action at this time.
0 commit comments