How will the grid items display?

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

How will the grid items display?
grid-template-columns: 2fr 1fr;

  • The first column is twice the height of the second column and will be as wide as the content
  • The first column is half the size of the container and the second column will absorb the remaining space
  • The first column is twice as wide as the second column and will fit proportionally within the grid container
  • The first column is twice the width and height of the second column, and will fit proportionally within the grid container
0/5 (0 Reviews)

Like this article?

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Related Posts