|
|
|
|
|
by SideburnsOfDoom
4474 days ago
|
|
Grids are also significantly more flexible and more responsive than tables. You finally get reliable vertical centering of elements as a side-benefit. Tables got a very bad name because they were abused back when they were the only thing available for layout: "if the only tool you have is a hammer..." Yes, but sometimes data is actually tabular. Grids are good for UI layout. The web was just for documents, but not any more. So now we need good ways to lay out UIs. |
|
Worth noting that you already get this with flexbox's align-items: center, which you can use today!