Relative Content

Tag Archive for htmlcssgridcss-gridcss-tables

Is it possible to replicate classic table spacing using CSS Grid?

I have a table with two columns. One of the columns has more content than the other. I would like to replicate the behaviour of an old fashioned table, where free space is allocated roughly in proportion to the amount of content in a cell, except using grid instead of table. I would prefer to use grid so that I can make the cells stack vertically on a narrow screen.