Morten Rand-Hendriksen: CSS Grid Changes Everything (About Web Layouts)

Channel:WordPress · Length:44:10 · Published:2017-06-30 · Views:51375

Watch on YouTube

Summary

Morten Rand-Hendriksen argues that CSS Grid changes web layout, showing how to place content in cells independent of HTML source order and reshape layouts with media queries. It makes the case for using Grid now that browsers support it.

Why HN recommends it

HN commenters say it convinced them to drop other layout approaches and embrace Grid, and cite its advice on fallbacks for older browsers.

it has convinced me to stop using other layouts/frameworks and just embrace grid — HN, 2018

Web development · UX & UI design

Subtitles (excerpt)

[Applause] Just before I get started, um the slides for this talk are on my website right now. I'm telling you this because there's a ton of content and we have a short period of time here. So, I'm going to cram through it and you will want to review later. So, now you know where to find it. I have a book in my bag and on that book I draw all sorts of layouts all the time. That's how I design websites. I start with a piece of paper and I just draw some stuff and I go, "Haha, this would be super cool." So, a couple of years ago, I made this design and when you look at it, you go, "Yeah, this looks like a standard web design. It's fairly basic. It has some interesting stuff like there's the categories and title at the top and then you have the featured image and then you have the meta content on the left hand side or right hand side, right hand side. Um, and then the content itself and you go, "Yeah, sure. This is relatively easy to do except on smaller screens. I wanted to make a slight change. move the meta content from next to the content up above the featured image. And then on even smaller screens, I wanted to move the featured image up above rest of the content. And at this point, you go, this is not so easy.

On Hacker News

I'm reading the comments and I think there's a lot of misunderstanding about what CSS Grid is. Mostly because the spec is big and there's not just one way to do things, so it gets mixed with flexbox and tables. I recommend watching last year's Morten's CSS grid presentation[1] as it has convinced me to stop using other layouts/frameworks and just embrace grid, which is truly amazing and it has be… — rsoto, 2018-05
If possible you could alternatively have send her (every browser which doesn't support full grid) a mobile layout like described in the video: [VIDEO] > From this follows a simple but surprising truth: The lack of support for CSS grid in an old browser should not affect the experience of the visitor, but rather just make the experience different. > If you agree with this (and you should), there i… — BlackMonday, 2018-12
I remember a video + blog post about this, and it was suggested to just ship a mobile layout for browsers that don't support css grid. At least for personal sites that seemed reasonable. EDIT: [VIDEO] — keth, 2018-07

Related videos