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>
4444 </ p >
4545
4646 < img
47+ class ="post-image "
4748 src ="img/post-img.jpg "
4849 alt ="HTML code on a screen "
4950 width ="500 "
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ article {
2323 padding-right: 40px; */
2424 padding : 20px 40px ;
2525 margin-bottom : 60px ;
26+ height : 80px ;
2627}
2728.post-header {
2829 margin-bottom : 40px ;
@@ -32,6 +33,7 @@ aside {
3233 border-top : 5px solid # 1098ad ;
3334 border-bottom : 5px solid # 1098ad ;
3435 padding : 50px 0 ;
36+ width : 500px ;
3537}
3638
3739h1 ,
@@ -149,3 +151,7 @@ a:active {
149151footer p {
150152 color : orange;
151153}
154+ .post-image {
155+ width : 100% ;
156+ height : auto;
157+ }
You can’t perform that action at this time.
0 commit comments