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>
37
37
class ="article-image "
38
38
src ="images/post-img.jpg "
39
39
alt ="HTML code on a screen "
40
- width ="500 "
41
40
/>
42
41
</ header >
43
42
@@ -79,6 +78,7 @@ <h3>What is HTML?</h3>
79
78
< p >
80
79
You can learn more at the
81
80
< a
81
+ class ="learn-more-at "
82
82
href ="https://developer.mozilla.org/en-US/docs/Web/HTML "
83
83
target ="_blank "
84
84
> MDN Web Docs</ a
Original file line number Diff line number Diff line change 20
20
border-top : 5px solid # 1098ad ;
21
21
border-bottom : 5px solid # 1098ad ;
22
22
padding : 10px 0 ;
23
+ width : 500px ;
23
24
}
24
25
25
26
h1 ,
@@ -120,6 +121,8 @@ a:active {
120
121
121
122
.article-image {
122
123
margin-bottom : 5px ;
124
+ width : 500px ;
125
+ height : auto;
123
126
}
124
127
125
128
strong {
@@ -133,3 +136,7 @@ strong {
133
136
.product-article {
134
137
margin-bottom : 20px ;
135
138
}
139
+
140
+ .learn-more-at {
141
+ padding : 0 ;
142
+ }
You can’t perform that action at this time.
0 commit comments