<div class="container">
<div class="layout-box">
<h3>Layout Box title</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. </p>
<button>read more</button>
</div>
<div class="layout-box">
<h3>A really really long long long Layout Box title</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. </p>
<button>read more</button>
</div>
<div class="layout-box">
<h3>Layout Box title</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500ss</p>
<button>read more</button>
</div>
</div>
.container{
display: grid;
grid-gap:20px;
grid-template-columns: repeat(3,1fr);
}
.layout-box{
background: mistyrose;
padding: 10px;
display: flex;
flex-direction: column;
}
button{
margin-top: auto;
background:tomato;
color: white;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.