~/talk

Variables & Conditionals

Talkat CSS Day 2013 · on Friday, 2013-06-14· [css, web-platform]
slides:none on file

CSS gains real custom properties that inherit and are scoped via var() so colors, calculated column fractions and boxed‑shadow components become live, cascadeable values; browsers already implement it in Chrome and newer Safari with Firefox regressions reported. Conditional rules appear as @supports and expose a CSS.supports() API that ties truth to parseability so feature detection needs no Modernizr. Examples include theming, a box‑shadow blur variable hack, JS polyfills using author-prefixed custom props, and planned features like parent‑var, default values and type annotations.

AI-written summary · about

  1. 0:00Intro
  2. 1:00History
  3. 2:13Modern Variables
  4. 5:06Use Cases for Variables
  5. 13:00Conditional Rules
  6. 21:18Variables
  7. 23:12Variable Hacks
  8. 29:51Questions
  9. 30:47Hierarchy
  10. 33:02Sprites
  11. 35:56Functions
  12. 37:07Nondeterministic values
  13. 37:52Subject Selector
  14. 41:12The Secret
  15. 42:19Accessing Style Sheets
  16. 44:21CSS Dash Values
  17. 46:39Shadow DOM Web Components
  18. 49:38Scoped Style Sheets
~/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.