Hello guys,
I’m new in here
Sorry if I don’t know the rules in this forum
I want to ask
I have code HTML and CSS like this
<!DOCTYPE html>
<html>
<head>
<title>Flexbox</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="flexwrap">
<div class="fleximg1"> <img src="img/Liberl Kingdom/Rolent.png"></div>
<div class="fleximg1"> <img src="img/Liberl Kingdom/Bose.jpg"></div>
<div class="fleximg1"> <img src="img/Liberl Kingdom/Ruan.png"></div>
<div class="fleximg1"> <img src="img/Liberl Kingdom/Zeiss.jpg"></div>
<div class="fleximg1"> <img src="img/Liberl Kingdom/Grancel.jpg"></div>
</div> <!--end of div flexwrap-->
</body>
</html>
*{
margin: 0;
padding: 0;
font-family: sans-serif;
box-sizing: border-box;
}
.flexwrap {
display: flex;
justify-content: center;
align-items: space-around;
flex-direction: row;
flex-wrap: wrap;
}
.flexwrap img{
width: 400px;
height: 130px;
border: 2px solid black;
}
.fleximg1 {
margin: 10px 10px;
}
My question is how to make last image so that it is in line with the image above not in the bottom middle element?
thanks in advance