~/talk

Start Using CSS Grid Layout Today

Talkat DevFest Nantes 2017 · 2017-10-19..10-20· [css, web-platform]

CSS Grid Layout is now shipping in desktop browsers (Edge 16 just rolled out) and is meant for two-dimensional grid vs 1D flex work, so use grid when you’re fighting with widths on flex items. Examples show FR units, min-content/max-content/fit-content sizing, line-based placement, named lines and auto-placement; a personal site is rebuilt on a 12-column grid and deployed to production successfully. Fallback strategy uses flexbox or multicolumn plus feature queries fallback and notes IE10/11 use an older MS-prefixed grid spec.

AI-written summary · about

  1. 0:00Introduction
  2. 0:55Overview
  3. 1:52Grid vs Flex
  4. 3:03Grid is 2D
  5. 4:23Layout in
  6. 5:15Create a grid
  7. 6:13CSS sizing keywords
  8. 8:07Grid vs Flexbox
  9. 11:04Line Numbers Grid
  10. 11:16Line Names Grid
  11. 12:04Grid Layout
  12. 13:42Grid Inspector
  13. 14:48Examples
  14. 15:23My Site
  15. 15:44Individual Boxes
  16. 16:06Feature Block
  17. 16:40Grid Gap
  18. 17:59Grid Position
  19. 18:50Explicit Grid
  20. 19:47Layering
  21. 21:06Auto Placement
  22. 22:25Line Base Positioning
  23. 24:00Container Items Auto
  24. 24:10Item Rules
  25. 24:46Redefining the Grid
  26. 25:31Splitting the Grid
  27. 25:51Changing the Boxes
  28. 26:07Narrow Breakpoints
  29. 26:52Old Browsers
  30. 28:13Flex Items
  31. 29:15Flex Box as a fallback
  32. 29:44Adding a margin to flex items
  33. 30:18Feature queries
  34. 32:19Flex layout
  35. 33:41Inline block
  36. 33:57Display table
  37. 35:07Multiple column layout
  38. 36:20Widths
  39. 36:51Cheat Sheet
  40. 39:10Edge Support
  41. 39:33Every Browser Was A Business
  42. 39:59Make Known What Features You Would Like
  43. 40:25Microsoft Edge User Voice
  44. 40:55CSS Exclusions
  45. 42:23WrapFlow
  46. 42:45Platform Status
  47. 43:33CSS Working Group
  48. 44:18Grid Issues
  49. 45:35Vote on Browser Features
  50. 46:09Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.