~/talk

The Secret Mechanisms of CSS

Talkat SmashingConf New York 2024 · 2024-10-07..10-10· [css, web-platform]
slides:none on file

Explains why inline images leave that mysterious gap — browsers treat them like text baseline, so fixes include line-height: 0, vertical-align: bottom, or making the image display block; distinguishes layout modes (flow vs Flexbox vs Grid vs positioned), demonstrates Flexbox’s minimum content size and hypothetical size using input size measured in characters and shows min-width: 0 to force shrinking; details absolute anchoring to the nearest positioned ancestor, fixed anchoring to the viewport, and how stacking context scopes z-index comparisons.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Mystery space under images
  3. 9:50CSS as mini languages
  4. 12:09Flow layout basics
  5. 14:50Inline elements explained
  6. 15:59Inline-block superpower
  7. 18:39Flexbox primary axis
  8. 21:25Justify vs align in Flexbox
  9. 24:09Flexbox minimum content
  10. 27:31Positioned layout overview
  11. 28:16Relative positioning
  12. 29:32Absolute positioning explained
  13. 32:14Fixed positioning analogy
  14. 33:19Z-index stacking context
  15. 38:18Personal CSS journey
  16. 41:37CSS complexity debate
  17. 43:53Tailwind CSS thoughts
  18. 46:42Helping backend devs with CSS
  19. 49:36Legacy browser support
  20. 51:10CSS feature wish list
~/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.