DEV Community

Discussion on: Using CSS Grid to Layout a Page Feels Like Cheating

Collapse
 
belevatini profile image
Rocky Bronzino

Here's a definition: "A table is a grid of rows and columns that intersect to form cells." There you have it. People used tables long time ago to do this. You rediscovered the joys of using a table for layout. Tables are easy to work with and they feel like cheating. Your grid works for simple design with two things, but when your design gets more intricate you run into the same exact issues where you have to add all kinds of hacks and grid within grid to make things work. Before you know it, half your code is dedicated to keeping things aligned and it's all held together with bubble gum and dental floss. This is inevitable.