4 ms·
"No longer" as long as browser support is there? Are people polyfilling for grids or what?
by themodelplumber 9y ago
"No longer" as long as browser support is there? Are people polyfilling for grids or what?
- jwdunne 9y agoLast time I checked, polyfills for flexbox sucked big time. Just did not work. Maybe the landscape has changed, as it often does in JS. Given no decent flexbox polyfills, I would doubt the existence of a good grid polyfill. If we can't do flexbox, how do we cope with grid?
- onion2k 9y agoIE10 and IE11 support Grid, albeit a slightly different syntax to an older spec. CSS Grid is not new. IE support was there long before the other browsers. You don't need to write two entirely separate layouts to use Grid. You don't need a polyfill. Jen Simmons made a really good video about exactly this topic - https://www.youtube.com/watch?v=7msERxu7ivg https://www.youtube.com/watch?v=7msERxu7ivg Rachel Andrews' blog post about IE and Grid - https://www.rachelandrew.co.uk/archives/2016/11/26/should-i-try-to-use-the-ie-implementation-of-css-grid-layout/ https://www.rachelandrew.co.uk/archives/2016/11/26/should-i-... Mozilla article about progressive enhancement and Grid - https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/CSS_Grid_and_Progressive_Enhancement https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_La...
- sametmax 9y agoAnd then come mobile browsers.
- newfoundglory 9y agoSince when was IE10 the oldest and least standards compliant browser out there?
- onion2k 9y agoIt isn't, but it is the oldest browser that still has enough market share to be worth supporting (in some limited circumstances). We're not discussing IE5.5 because it has effectively zero users.
- newfoundglory 9y agoI assume you know that I wasn't thinking of IE 5.5. Why not just say that you personally don't have to support anything below IE10 and so you didn't bother thinking about them?
- onion2k 9y agoFor 99.99% of websites and apps Grid is ideal for layout. There might be things that still need to work in browsers that are too old to support it, but they're not useful when it comes to discussions about how to build websites. Some web developers out there are still supporting ActiveX components that no one is willing to replace. I don't think anyone would advocate building a new site using ActiveX though. At some point we have to move forward and adopt new technologies that improve the way things are built. We're at a point in web dev where Grid is ready for mainstream use.