File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 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>
138138 src ="img/related-1.jpg "
139139 alt ="Person programming "
140140 width ="75 "
141- width ="75 "
141+ height ="75 "
142142 />
143143 < a href ="# "> How to Learn Web Development</ a >
144144 < p class ="related-author "> By Jonas Schmedtmann</ p >
@@ -148,7 +148,7 @@ <h4>Related posts</h4>
148148 src ="img/related-2.jpg "
149149 alt ="Lightning "
150150 width ="75 "
151- heigth ="75 "
151+ height ="75 "
152152 />
153153 < a href ="# "> The Unknown Powers of CSS</ a >
154154 < p class ="related-author "> By Jim Dillon</ p >
Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ a:active {
204204 height : auto;
205205}
206206
207+ /* Good Selector Example */
207208nav a : link {
208209 /* Inline To Block level Elements Behavior Demo */
209210 /* background-color: orangered;
@@ -216,6 +217,11 @@ nav a:link {
216217 display : inline-block;
217218}
218219
220+ /* Antipattern Selector Example */
221+ /* .main-header nav a:link {
222+ margin-top: 100px;
223+ } */
224+
219225nav a : link : last-child {
220226 margin-right : 0 ;
221227}
You can’t perform that action at this time.
0 commit comments