.container {
display: flex;
height: 1000px;
width: 1000px;
background-color: bisque;
align-items: center;
justify-content: center;
}
.box {
height: 300px;
width: 400px;
background-color: green;
display: flex;
align-items: center;
justify-content: center;
}
<div class="container">
<div class="box">
<img src="Marcel_Proust.jpg">
<h2>Proust'un Gölgesinde</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolore tenetur a ipsam distinctio dicta debitis quaerat reiciendis nihil quae. Veritatis sit dolorem praesentium dolorum accusantium blanditiis quae a odio in?</p>
</div>
</div>
I want to create a box like this. But I couldn't sort the items one below the other.I think if I can line up the items, I can create the box I want.