~/talk

Reactive CSS

TalkinRussianat HolyJS 2026 Spring · 2026-05-14..05-15· [css, web-platform]
links:none on file
slides:none on file

Reactive CSS shifts UI logic from JavaScript into styles by driving component appearance from CSS state variables. The talk uses step-by-step examples — recoloring a progress bar based on progress, linking CSS logic to external parameters controlled from JS, combining this approach with native CSS features to create complex effects — and culminates by building and comparing two slider implementations whose entire appearance is driven by a single CSS variable. It finishes with discussion of browser support, fallbacks, performance, and whether the approach is viable going forward.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00CSS logic evolution
  3. 3:26Progress bar demo
  4. 5:52Calendar case study
  5. 8:15Scroll indicators
  6. 11:03Dangerous slider demo
  7. 20:04JavaScript to CSS shift
  8. 26:45Slider logic breakdown
  9. 31:40Loose coupling
  10. 33:24Stacked slides effect
  11. 34:50Future of reactive CSS
  12. 35:53Key takeaways
  13. 37:17Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.