~/talk

Quick Guide to Writing Maintainable, Scalable CSS

TalkinSpanishat Codemotion Madrid 2016 · 2016-11-18..11-19· [css, frontend-architecture]
links:none on file
slides:none on file

A practical overview of modern techniques and methodologies for writing cleaner, more maintainable and scalable CSS, including recent advances in the CSS specification and browser support that let developers stop relying on old hacks. Covers concrete approaches to structuring CSS for maintainability and scalability.

AI-written summary · about

  1. 0:00A QUICK GUIDE FOR WRITING MAINTAINABLE AND SCALABLE CSS
  2. 3:01WHAT'S THE PROBLEM WITH CSS?
  3. 3:45global by default
  4. 4:48It has a complex specificity system
  5. 6:241 #ID 2 Classes & Attributes 3 Elements
  6. 8:11Avoid #selectors. Use nesting wisely. Don't over qualify.
  7. 12:21WRITING MODULAR CSS
  8. 12:39Components are bits of User Interface
  9. 12:52Encapsulation. Composition. Documentation.
  10. 14:01OOCSS. SMACSS. BEM. ITCSS.
  11. 14:53We'll only talk about its naming conventions
  12. 15:18Feo. Fuerte. Formal.
  13. 15:58Element Modifier
  14. 18:36Best project organization
  15. 19:17BEM... improves semantics. avoids inheritance. reduces specificity.
  16. 19:29Prefer duplication over the wrong abstraction
  17. 20:49What about JavaScript?
  18. 21:58CUSTOM PROPERTIES THE CSS BUILT-IN VARIABLES
  19. 23:47FLEXBOX A NEW LAYOUT MODEL
  20. 24:47Declarative. Dynamic. Direction-agnostic.
  21. 25:21Vertical centering. Sticky footer. Full-height columns. Holy Grail layout.
  22. 27:48THE FUTURE CODEMOTION 2017
  23. 28:01Web Components. CSS Modules. Grid Layout
~/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.