My output with three pictures does not space around. I want to be like it. how to make them in the middle of the web? I am new in html and css.
.container {
width: 1555x;
margin: 20px;
justify-content: space-around;
}
.column {
width: 440px;
height: 325px;
margin-right: 20px;
padding: 20px;
}
img {
width: 100%;
height: auto;
}
<div class="container">
<div class="column">
<img src="/task1/assets/img1.png" alt="Car Salesman">
<img src="/task1/assets/img2.png" alt="Family">
<img src="/task1/assets/img3.png" alt="Pottery">
</div>
</div>
2
Answers
You should make the column a flex.
Since the images are the children’s of the column.
Please find this CSS changes
You can achieve the expected output by using given, hope it helps.