~/talk

Utility of Inline Styles

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

Claim: inline custom properties become an HTML-to-CSS API, letting pages set values in style attributes and have stylesheet logic apply them via attribute selectors matching property definitions. Demonstration uses CSS variables, hover and media-state tricks, and fallback invalid values to toggle behavior. It works in modern browsers but is labeled experimental and shows measurable downsides: runtime variable calculation and slow attribute-selector matching can cause performance issues on large sites. Utility-first without class proliferation

AI-written summary · about

  1. 0:00Intro
  2. 0:27The Argument
  3. 0:41Disclaimer
  4. 1:02Element
  5. 1:27CSS
  6. 2:22Hover States
  7. 2:54Media Queries
  8. 3:21Potential Problems
  9. 4:12Conclusion
~/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.