~/talk

CSS Variables: var(--subtitle)

Talkat CSSConf.Asia 2016 · on Thursday, 2016-11-24· [css, web-platform]

Claims that CSS custom properties are live updateable custom properties that can be read and set from JavaScript (getPropertyValue / setProperty) and used for theming, SVG, sliders, cursor-following gradients and scroll progress indicators; demos show these work. Caveats: variables are inherited by default but can be cancelled, var(...) fallbacks apply at computed-value time so cycles or nonsensical values become initial, string concatenation and url() with variables have parsing/bug issues, and variables don’t interpolate for animations yet. Browser support is widespread except Edge (coming).

AI-written summary · about

  1. 0:00Start
  2. 5:41CSS Variables work like normal CSS properties
  3. 7:13CSS Variables are inherited properties
  4. 17:16Cycles make variables invalid at computed value time
  5. 25:08Use variables for pure data, not CSS values
  6. 31:00Common use Cases
  7. 34:28CSS Variables enable theming independent of CSS structure
  8. 36:29Default default values are possible
  9. 37:38CSS Variables make responsive design easier
  10. 39:25CSS Variables enable you to set multiple properties at once
  11. 40:45CSS Variables let you create single property mixins
  12. 42:24CSS Variables enable you to create custom longhands
  13. 43:27CSS Variables enable you to define your own properties
  14. 44:56CSS Variables & JavaScript
  15. 50:23CSS Variables are a revolution for separation of style and behavior
~/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.