I want to limit height of container to 90vh and compute height of grid item by percentage. However, it is not executed as I said. I explicitly wrote height as 90vh, but it ignores it. What I want is making grid to fit current viewport. How can I limit height and prevent from overflowing of images? Every images have height using percentage for 90vh.
I want to limit height of container to 90vh and compute height of grid item by percentage. However, it is not executed as I said. I explicitly wrote height as 90vh, but it ignores it. What I want is making grid to fit current viewport. How can I limit height and prevent from overflowing of images? Every images have height using percentage for 90vh.