~/talk

Is Sass Dead Yet? CSS Mixins and Functions

Talkat CSS Day 2025 · 2025-06-05..06-06· [css, web-platform]
slides:none on file

CSS now prototypes author-defined functions and mixins in Chrome: functions are callable like variables, accept parameters with defaults, can contain conditions (media, prefers-color-scheme) and return a single declarative result, but cannot use !important and disallow container queries in their conditionals; mixins literally expand where applied, currently expose all internal declarations (no private scope) and still crash or lack parameters in browsers; claim: these features reduce some Sass use but do not replace Sass features like loops and data structures.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05CSS evolution
  3. 3:31Role of abstractions
  4. 6:24CSS mixins and functions
  5. 8:10Feedback and CSSWG process
  6. 8:30CSS functions syntax
  7. 13:59Declarative vs imperative
  8. 15:43Functions with conditions
  9. 17:55Mixins syntax and limits
  10. 20:07Gradient text with @supports
  11. 21:57Mixins vs functions
  12. 23:00Inline conditions with if()
  13. 25:29Custom properties
  14. 27:14Lexical vs DOM scoping
  15. 30:29Value resolution
  16. 34:06Invalid values and fallbacks
  17. 37:15Cascade and importance
  18. 39:21Functions in cascade
  19. 40:04Mixins for design tokens
  20. 41:29Parameterized variables
  21. 43:15Custom properties inheritance
  22. 44:37Inheritance rules
  23. 45:19Initial values
  24. 47:07Guaranteed invalid values
  25. 48:09Typing in CSS
  26. 49:12Functions passing keywords
  27. 50:38Complex CSS demos
  28. 51:40Conditional border radius
  29. 52:43AI color palettes
  30. 53:04Performance and mixins
  31. 54:06Is Sass dead?
  32. 54:50Q&A
~/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.