Hello, subgrid @rachelandrew at CSSConf EU 2019
Slides & resources https://noti.st/rachelandrew
Slide 2
Doing things on the web since 1996 Co-founder Perch CMS & Notist. Editor in Chief Smashing Magazine. Writer of many books. CSS Working Group Member representing Fronteers. Spec editor Multicol and Page Floats. MDN tech writer.
Slides & resources https://noti.st/rachelandrew
Slide 3
Slides & resources https://noti.st/rachelandrew
Slide 4
CSS Grid Layout Two years on.
Slides & resources https://noti.st/rachelandrew
Slide 5
So, what’s next?
Slides & resources https://noti.st/rachelandrew
Slide 6
Slides & resources https://noti.st/rachelandrew
Slide 7
Slides & resources https://noti.st/rachelandrew
Slide 8
Only direct children become grid or flex items. Their children return to normal flow.
Slides & resources https://noti.st/rachelandrew
Slide 9
Slides & resources https://noti.st/rachelandrew
Slide 10
Slides & resources https://noti.st/rachelandrew
Slide 11
display: contents Removing the box from the layout.
Slides & resources https://noti.st/rachelandrew
Subgrid Create a grid on a grid item which uses the grid tracks defined on the parent – for rows, columns or both.
Slides & resources https://noti.st/rachelandrew
Line numbers start from 1 inside the subgrid. You position child items in the subgrid according to the subgrid line numbering, not those of the parent.
Slides & resources https://noti.st/rachelandrew
Slide 28
Slides & resources https://noti.st/rachelandrew
Slide 29
Line names on the parent are passed into the subgrid. If you have named lines on the parent grid they will be passed into the subgrid and added to any names defined there.
Slides & resources https://noti.st/rachelandrew
Write about features you want to see in browsers Write up your use cases, the problems having the feature will solve.
Slides & resources https://noti.st/rachelandrew
Slide 62
Use new features Browsers are watching.
Slides & resources https://noti.st/rachelandrew
Slide 63
Slides & resources https://noti.st/rachelandrew
Slide 64
Use new features when they are behind a flag You get to beta test the web platform!
Slides & resources https://noti.st/rachelandrew
Slide 65
Give feedback to the CSS Working Group https://github.com/w3c/csswg-drafts/issues
Slides & resources https://noti.st/rachelandrew
Slide 66
Slides & resources https://noti.st/rachelandrew
Slide 67
Participate in the web platform Or you are leaving your future as a designer or developer in the hands of the very few who do.
Slides & resources https://noti.st/rachelandrew
Slide 68
Thank you https://noti.st/rachelandrew/i6gUcF/
Slides & resources https://noti.st/rachelandrew