Utilizing react-photo-album to showcase a photo album on my website has been a great addition.
I've been contemplating the possibility of incorporating a CSS border that wraps around the photos at the bottom, adjusting based on their individual heights. Is this achievable?
The current display can be seen here: https://i.sstatic.net/juYm5.jpg
I envision something similar to this layout: https://i.sstatic.net/kx0vv.jpg
My attempt so far involved using :last-child on the react-photo-album--column class and resulted in: https://i.sstatic.net/S2I2n.jpg
However, all my efforts only led to having a border surrounding the entire container rather than the individual photos at the bottom.
I have already styled the other sides with:
.react-photo-album {
border-radius: 5px;
border: 4px solid #86afe1;
border-bottom: 0;
padding: 3rem 2rem 2rem;
}
The HTML structure of the container can be viewed here. My intention was to target the last child of each react-photo-album--column but I am unsure how to approach styling the sides accordingly.