A CSS Eulogy
summary
Argues that old hacks are replaceable: writes a script checking ~50 sites and finds only five of ~50 sites still use a clearfix utility, recommends display:table/table-cell or Flexbox for media objects, shows translate(-50%,-50%) replaces negative-margin centering and notes transforms are relative to the element, praises viewport units + calc for scalable type while warning of browser quirks, mentions the dialog element auto-centers and provides built‑in backdrop and show/hide methods.
AI-written summary · about
chapters (9)
- 0:00Introduction and context
- 1:14The decline of clearfix
- 3:02Evolution of layout patterns
- 6:38Modern alternatives to hacks
- 9:40Replacing media objects
- 13:54Rethinking negative margins
- 19:27The future of web layout
- 21:02Viewport units and scaling
- 27:22Conclusion and closing rant
related talks
48mI'm Going To Make You Stop Hating CSS
56mI'm Going To Make You Stop Hating CSS
35mModern CSS Replacements for Better Responsive Code
37mFuture-Proof CSS
51mWeb Design Engineering With the New CSS
01h 11mCSS is Rad
45mRefactoring the way we talk about CSS
47mCSS Layout Techniques: Replacing Floats with Flexbox
