@prameelapujari043 ,
You can change the structure like this in your html file
//Html file
<div class="flex-container">
<div class="posts">
<img src="images/4.png">
<div class="content">Your content here</div>
</div>
<div class="posts">
<img src="images/4.png">
<div class="content">Your content here</div>
</div>
<div class="posts">
<img src="images/4.png">
<div class="content">Your content here</div>
</div>
<div class="posts">
<img src="images/4.png">
<div class="content">Your content here</div>
</div>
</div>
// CSS file
.flex-container {
display: flex;
}
.posts{
width:33.3%
}
Where do you need help with this? Please mention the problem you are facing to get the relevant answer.