3 ms·
display:table and display:grid are not really the same class of thing? One lets you make things act more like pre-css html, the other is a completely new additi
by stormbrew 6y ago
display:table and display:grid are not really the same class of thing? One lets you make things act more like pre-css html, the other is a completely new addition to the box model.
"breaks the box model" might be too strong, I'll admit. But table-styled elements don't act quite like other things in the box model even so. It's confusing and messy and anyways you have to contort your document to fit things together in a way that works with it most of the time.
On the other hand I'm saying display:grid is good, but took way too long to get here.
- goto11 6y agoI don't see what is confusing or messy about display:table. Of course if you use it for a purpose it is not suited for, it gets messy. But so it is with everything.