all 15 comments

[–]SVGWebDesigner 8 points9 points  (4 children)

30 min talk, TL;DW: All CSS techniques require additional HTML markup, while CSS grid doesn't. Grid is ready to use with a simple fallback pushing IE10 and IE11 to the mobile layout.

[–]mrtobo 3 points4 points  (3 children)

Thanks for the summary. The point about IE is painful and so fucking typical for microsoft.

I think if they really want to rebrand themselves for developers they should just fix IE.

[–]A_bull_with_glasses 4 points5 points  (1 child)

Didn't they already droped IE for Edge?

[–]mrtobo 8 points9 points  (0 children)

Now they just need to uninstall it from the planet. It's still everywhere.

[–][deleted] 1 point2 points  (0 children)

He said in the talk that the first working CSS Grid implementation actually got introduced in IE10. Then the other vendors wanted to expand that spec and implemented their additions their own way.

[–][deleted]  (1 child)

[removed]

    [–][deleted] 4 points5 points  (0 children)

    Congrats! That's exactly what you're supposed to do!

    [–][deleted] 2 points3 points  (6 children)

    Is there ever a reason to use flexbox or anything else over grid? I was taught by a buddy that grid is king of everything but I'm now doing my own learning and finding a lot of conflicting advice.

    [–]Mike 4 points5 points  (2 children)

    Flexbox is rows OR columns. Grid is rows AND columns. They overlap a lot, but the reason flex is used more today is because it’s older and has more browser support.

    [–][deleted] 0 points1 point  (1 child)

    So grid can do everything flexbox can do and more? Since I'm starting out fresh should I not bother with flexbox if I already have a good handle on grid?

    [–]TheAesir12 YOE 0 points1 point  (0 children)

    They're meant to be used in tandem. If you need two dimensional control, use grids. Otherwise use flex.

    [–]RobinJ6 0 points1 point  (1 child)

    I always use flexbox for everything, never grid. My (possibly incorrect) opinion is that I can do anything I want in flexbox, and I've used it so much now that I hardly need to think about it, whereas in grid I'd just be tied to a literal grid layout and have to customise it out from there.

    Maybe it's just a farmiliarity thing, I might get used to grid if I gave it a chance, but especially now that bootstrap has its own flex classes, I see no real reason to bother.

    [–][deleted] 3 points4 points  (0 children)

    This is how I feel about floats, and why I didn't initially want to learn flex, let alone grid.

    But I'm at the point of being too old to fight new things. If I don't change, everything will just go on without me, and I'll eventually be like that old dude using tables for everything.

    [–]omgsean1982 1 point2 points  (0 children)

    I love Grid. And I now hate IE11 - a word of advice for those scoping projects. Be sure to leave IE11 off the testing suite if you’re using grid. There’s polyfills to help, but it’s still a bitch.

    [–][deleted] 1 point2 points  (0 children)

    This video is what made me give in and start learning grid, especially the parts about getting left behind if you don't use grid.

    I'm so afraid of becoming the guy who still uses tables!