~/talk

CSS Variables A New Hope

Talkat CSSConf Budapest 2017 · on Wednesday, 2017-10-25· [css, web-performance, web-platform]
slides:none on file

Claims that CSS custom properties are accessible at runtime to JavaScript, demonstrates a clip-path spotlight from four SVG circles and builds a galaxy made of ~250 stars using HTML/CSS plus minimal JS. Shows concrete perf numbers: a naïve DOM-iterating version drops to ~24 fps, the CSS‑variable approach hits ~75 fps while a non-variable DOM animation reaches ~58–59 fps. Notes expensive pseudo-element filters, uses DeviceOrientation over WebSocket and an Audio‑API emoji meter; some demos require compromises.

AI-written summary · about

  1. 0:00Introduction
  2. 4:40CSS variables changed workflow
  3. 5:50Spotlight effect with SVG
  4. 9:03Runtime access in JavaScript
  5. 11:59Galaxy animation performance
  6. 16:45CSS animation challenges
  7. 19:55Device APIs declaratively
  8. 25:11Emoji happiness meter
~/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.