~/talk

XXLCSS: a Battle Plan for Scaling CSS

Talkat Frontend United 2017 · 2017-05-26..05-27· [css, frontend-architecture]
slides:none on file

Concrete checklist for cleaning a messy stylesheet and keeping it small as the product grows: use Sass and preprocessors for partials and manifests, follow five steps—prepare refactor rules, create a file structure, pick a naming convention, build self contained modules, and document continuously—add linters and show before and after metrics to convince stakeholders, accept about 80% coverage as realistic, adopt a living style guide generator such as hologram by Trulia, and refactor one thing at a time so changes stay safe and measurable.

AI-written summary · about

  1. 0:00Start
  2. 0:52100% Designer
  3. 1:51A practical guide for scaling your CSS, on the go
  4. 4:16Preprocessors
  5. 5:08Setting the goals
  6. 6:49The battle plan
  7. 9:12Prepare for refactoring
  8. 12:08Refactor one thing at a time
  9. 13:08Create a file structure
  10. 14:54Molecules Organisms
  11. 15:39Establish a naming convention
  12. 16:05Consistency
  13. 18:19Namespaces
  14. 20:23STEP 4 Create your modules
  15. 24:27Document & maintain
  16. 25:03Create a living style guide
  17. 26:13Document your code style
~/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.