It is difficult for me to visualize the grids…so, I draw it on paper.
How can I better understand and visualize it.
Below is my codepen of this task:
https://codepen.io/akku2002/pen/YzvVoaY
One thing I want to ask about the fr unit.
1.) It doesn’t allow overflow of grid items inrespect to other units.
2.) It evenly distribute the available space
Q. What is available space here ?
Q. If I give grid-template-columns: 1fr 1fr 1fr to grid container then it would evenly distribute the space among three colums…but it is not applicable in below example:
https://codepen.io/akku2002/pen/BaVRgGM
Here the first column is taking more width then rest because it has more content but due to that the responsiveness of the website become null… when I try to resize the window size.
How to make all 3 columns of equal size even if they contain different amount of content?
(edit)
When I try to give minmax() function inorder to make the size of all 3 columns equal then it’s content become overflow.
What to do, below is the code ?
https://codepen.io/akku2002/pen/poKPMzg
Please Explain me…I’m in need.