~/talk

Refactoring CSS

TalkinItalianat CSS Day 2017 · 2017-06-15..06-16· [css]
slides:none on file

Practical workflow for safe CSS refactoring: isolate affected markup in a sandbox and rewrite styles there, use all: initial to prevent inheritance surprises, replace hardcoded values with Sass variables, and consolidate browser hacks into a documented "shame" file. Use tools like CSSLint to detect duplicate colors and other issues, timebox refactors to 30–60 minutes, and avoid tag selectors and overly specific rules to reduce cascade-related breakage.

AI-written summary · about

  1. 0:00Introduction
  2. 2:03Refactoring and tech debt
  3. 5:14CSS refactoring challenges
  4. 9:30Isolating CSS refactoring
  5. 13:10Best practices and tools
  6. 16:01Conclusion
~/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.