~/talk

Building responsive CSS components

Talkat Talk.CSS max-content Edition · on Tuesday, 2018-01-23· [css, frontend-architecture]
slides:none on file

Shows how to make components actually scale: use relative units (em/rem) to scale to font size and viewport units (vw/vh) for fluid sizing, use rem for consistent spacing, and reset margins so components stack like Lego; demonstrates the adjacency selector (+) and universal selectors to manage internal whitespace, recommends mobile‑first min‑width media queries but uses max‑width to constrain bleed, sketches a working demo that switches grid/single layouts by toggling a class, and advocates BEM and avoiding IDs to keep specificity manageable.

AI-written summary · about

  1. 0:00Start
  2. 0:19Building Scalable Components
  3. 5:06Proportional Scaling Responsive Scaling and Modular Scaling
  4. 7:22Scale According to the Viewport
  5. 8:09Fluid Topography
  6. 10:05Modular Scaling
  7. 14:25Managing Internal Whitespace
  8. 17:33Responsive Scaling
  9. 17:49Media Queries
  10. 27:12Additional Tips Naming Components
  11. 27:35Name Spacing
~/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.