3 ms·
Making nice looking collapsing columnar layouts gets easier with Grid as well (I've played a bit with it, and a few things that required horrible hacks before n
by detaro 10y ago
Making nice looking collapsing columnar layouts gets easier with Grid as well (I've played a bit with it, and a few things that required horrible hacks before now are really easy). You also get a lot more flexibility in how you order things, which is nice both for responsive layout and things like screen readers.
And not everything has a so vast majority of mobile users that optimizing the experience for desktop/tablet users isn't worth it - especially for sites/SPAs with many elements and very complex layouts.
- watchdogtimer 10y agoYou're probably right. I just haven't needed to many layouts complex enough to make it useful. I should look into it more.
- detaro 10y agoFor a relatively standard problem (the "holy grail layout", 3 equal-height columns with header and footer), this article isn't bad: https://bitsofco.de/holy-grail-layout-css-grid/ https://bitsofco.de/holy-grail-layout-css-grid/ http://gridbyexample.com/ http://gridbyexample.com/ is another nice resource.