Solving layout problems with CSS Grid and friends
summary
CSS Grid ships to most browsers in 2017 and provides two-dimensional layout where columns and rows are defined on the container rather than sized per item. Practical techniques shown include using fr unit for proportional space, minmax(200px, 1fr) with autofill/autofit to create responsive columns, mixing fixed tracks like a 400px sidebar plus 20px gutters, and content-aware sizing with min-content/max-content/fit-content. Note subgrid is not in level 1 yet, and feature queries are recommended for graceful fallbacks to older methods.
AI-written summary · about
chapters (4)
- 0:00Start
- 5:43CSS Grid Layout is a native CSS framework. Built into the browser.
- 20:47Use the cascade. Write code for old browsers then code for new browsers.
- 23:16The fundamentals of CSS haven't changed
related talks
30mSolving layout problems with CSS Grid and friends
43mSolving Layout Problems With CSS Grid and Friends
30mSolving Layout Problems with CSS Grid and Friends
59mGrids all the way down
30mStart Using CSS Grid Layout Today
48mStart Using CSS Grid Layout Today
58mCSS Grid - What is this Magic?!
47mCSS Grid - What is this Magic?!
