I am new to programmin and that sort of stuff I am trying to make a website but the part im stuck on is trying to make a row of images that will shrink with the website when it shrinks. Instead the pictures get moved down when you shrink the browser. it works fine without the pictures but whenever i add the images it gets weird.
Here is the code
.flexbox-container {
display: flex;
flex-wrap: wrap;
}
.flexbox-item {
width: 200px;
border: 3px solid #333;
background-color: white;
border-radius: 100px;
flex-grow: 0;
flex-basis: auto;
display: flex;
flex-direction: row;
flex-shrink: 1;
}
.flexbox-container img {
width: 100%;
height: 30rem;
display: inline-block;
}
.emo-issa {
width: 100%;
height: 100%;
flex-shrink: 0;
border-radius:100px;
}
<div>
<h1>
Da bois
</h1>
<br>
<h2>Introducing da Bois!
</h2>
<h3>
First up we have got!
</h3>
<div class="flexbox-container">
<div class="flexbox-item flexbox-item-1">
<div>
<a href="issastat.html"> <img class="emo-issa" src="images/issa-small.jpg" alt="emo ass guy "></a>
</div>
</div>
<div class="flexbox-item flexbox-item-2">
<div>
<a href="issastat.html"> <img class="emo-issa" src="images/issa-small.jpg" alt="emo ass guy "></a>
</div>
</div>
<div class="flexbox-item flexbox-item-3">
<div>
<a href="issastat.html"> <img class="emo-issa" src="images/issa-small.jpg" alt="emo ass guy "></a>
</div>
</div>