3 ms·
HTML tables were not bad. They are fine when used for their appropriate purpose. Anyway the pure CSS equivalent to tables is display:table, it is not CSS grid.
by goto11 7y ago
HTML tables were not bad. They are fine when used for their appropriate purpose.
Anyway the pure CSS equivalent to tables is display:table, it is not CSS grid. CSS grid behaves quite different from tables. For example CSS grid can adjust the number of columns to the available space. This makes sense for say textual columns but would not make sense for a data table.