~/talk

How to Teach CSS

Talkat CSSDAY 2024 · 2024-06-06..06-07· [css, developer-experience]
slides:none on file

Explains concrete fixes and why they work: why the mysterious 6.33px gap disappears with display:block instead of blind workarounds like line-height:0, how flex’s flex-shrink and min-width:0 come from the flex algorithm, what stacking contexts make z-index comparisons local, and when absolute/fixed positioning anchor to ancestors or the viewport. Shows demos, an eye‑tracker setup and a course platform, built a course called CSS for JavaScript developers with about 18,000 students — and it demonstrably clarifies recurring confusions.

AI-written summary · about

  1. 0:00Intro
  2. 1:02The Problem
  3. 2:17The Mindset
  4. 4:40Baseline
  5. 6:45The CSS Person
  6. 12:55Layout
  7. 14:52Inline Elements
  8. 16:05Inflow Layout
  9. 17:34Inline vs Block
  10. 18:53Line Wrapping
  11. 20:07Flexbox
  12. 29:25Positioned Layout
  13. 30:22Relative Position
  14. 31:29Absolute Position
  15. 33:45Fixed Position
  16. 37:49Position Relative
  17. 40:30Why I Started
  18. 43:07Questions
~/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.