~/talk

Crafting Stateful Styles

Talkat dotCSS 2019 · on Wednesday, 2019-12-04· [css, accessibility]
slides:none on file

Argues that styling belongs to explicit finite state machines rather than scattered classes, using data-state attribute + data-transition to guarantee a single active state and express transitions. Uses XState and the XState visualizer to map machine config to UI graphs, ARIA and CSS variables for accessibility and theming, and demos a CSS-only calendar, a drag‑select weekday editor and animated nav transitions — all implemented and working in the demos.

AI-written summary · about

  1. 0:00Start
  2. 3:01add more than one check box
  3. 10:19customize the styles of your stateful dynamic css
  4. 13:48add a little bit of javascript
  5. 16:31write a little bit of prototype code
~/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.