Screen shot of my grid items of one rowI want to keep the position of ADD TO CART button right above the bottom of of grid . But its going down when the name of the book exceeds to 2 rows. please resolve the issue even if the name of one item is larger than the other item’s names in the same row but the button should remain 5 to 10px above the grid item bottom. Thank You,i tried bottom:0; but it also did not work…
.items-container {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(20rem, 1fr));
}
.item-box {
margin: 0 0 20px 10px;
padding: 0 0 10px 0;
height: auto;
background-color: #E6E0DE;
align-items: flex-end;
box-shadow: 2px 2px 12px rgba(47,47,47,0.40);
height:95%;
}