so this is the html code
<div class="container">
<div class="flex-col-1">
<div class="flex-left flex-item1"><img src="./images/berlin.avif" alt="berlin"></div>
<div class="flex-left"><h2>Berlin</h2><p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.</p></div>
<div class="flex-left flex-item2"><img src="./images/eric-ward-uD0W-swVGgE-unsplash.jpg" alt="Poland"></div>
<div class="flex-left"><h2>Holand</h2><p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.</p></div>
</div>
and this is the css
.flex-col-1 {
display: flex;
flex-wrap: wrap;
flex-direction: row;
}
.flex-left {
/* margin: 5%; */
flex: 1 1 auto;
width: 25%;
min-width: 500px;
white-space: pre-wrap;
}
img {
background-size: cover;
background-position: center;
border-radius: 8px;
height: 500px;
width: 500px;
max-width: 100%;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
why all the 4 items dont stay in a row?(forget : MUSIC...4 different places)
whats the best practise for this?