File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
myWork/03-CSS-Fundamentals Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ <h2 class="article-header">The Basic Language of the Web: HTML</h2>
3737 class ="article-image "
3838 src ="images/post-img.jpg "
3939 alt ="HTML code on a screen "
40- width ="500 "
4140 />
4241 </ header >
4342
@@ -79,6 +78,7 @@ <h3>What is HTML?</h3>
7978 < p >
8079 You can learn more at the
8180 < a
81+ class ="learn-more-at "
8282 href ="https://developer.mozilla.org/en-US/docs/Web/HTML "
8383 target ="_blank "
8484 > MDN Web Docs</ a
Original file line number Diff line number Diff line change 2020 border-top : 5px solid # 1098ad ;
2121 border-bottom : 5px solid # 1098ad ;
2222 padding : 10px 0 ;
23+ width : 500px ;
2324}
2425
2526h1 ,
@@ -120,6 +121,8 @@ a:active {
120121
121122.article-image {
122123 margin-bottom : 5px ;
124+ width : 500px ;
125+ height : auto;
123126}
124127
125128strong {
@@ -133,3 +136,7 @@ strong {
133136.product-article {
134137 margin-bottom : 20px ;
135138}
139+
140+ .learn-more-at {
141+ padding : 0 ;
142+ }
You can’t perform that action at this time.
0 commit comments