File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ <h2>The Basic Language of the Web: HTML</h2>
44
44
</ p >
45
45
46
46
< img
47
+ class ="post-image "
47
48
src ="img/post-img.jpg "
48
49
alt ="HTML code on a screen "
49
50
width ="500 "
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ article {
23
23
padding-right: 40px; */
24
24
padding : 20px 40px ;
25
25
margin-bottom : 60px ;
26
+ height : 80px ;
26
27
}
27
28
.post-header {
28
29
margin-bottom : 40px ;
@@ -32,6 +33,7 @@ aside {
32
33
border-top : 5px solid # 1098ad ;
33
34
border-bottom : 5px solid # 1098ad ;
34
35
padding : 50px 0 ;
36
+ width : 500px ;
35
37
}
36
38
37
39
h1 ,
@@ -149,3 +151,7 @@ a:active {
149
151
footer p {
150
152
color : orange;
151
153
}
154
+ .post-image {
155
+ width : 100% ;
156
+ height : auto;
157
+ }
You can’t perform that action at this time.
0 commit comments