~/talk

CSS for Software Engineers for CSS Developers

Talkat ScotlandCSS 2016 · on Wednesday, 2016-06-01· [css, software-architecture]
slides:none on file

Applies classic software-engineering rules to everyday CSS and shows concrete fixes: use variables and argumentless mixins for DRY / single source of truth, split button responsibilities into base/size/style to follow single responsibility, avoid styling against DOM/ARIA or data attributes, prefer utility classes with proactive !important for immutability, use responsive suffixes instead of mutating classes, and scope selectors to prevent 12-check selector style blowups. Uses BEM, grid-as-layout, and cites a “6.4 billion sandwiches” combinatorics example to justify composability.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 5:24DRY principle in CSS
  3. 11:38Single responsibility principle
  4. 16:31Separation of concerns
  5. 23:12Immutability in CSS
  6. 28:30Cyclomatic complexity in selectors
  7. 33:29Open/closed principle
  8. 38:17Orthogonality in CSS
  9. 42:00Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.