3 min
Xinjiang Shao
When The Night Is Falling, We Need The Dark Theme
I injected CSS into an Electron build of Peapod.com to give it a night mode. What inverted badly, and the Chrome extension it eventually turned into.
Frontend lessons from grocery e-commerce: an HTML email that broke in one Gmail app, centering with CSS, BEM naming and a homemade dark mode.
3 posts tagged with “Frontend”
I injected CSS into an Electron build of Peapod.com to give it a night mode. What inverted badly, and the Chrome extension it eventually turned into.
Naming things and vertically centering things. Four ways to center in CSS — absolute, table cell, flexbox and grid — with tradeoffs, plus BEM naming.
Our order confirmation email broke only in the Android Gmail IMAP app. The fix was swapping semantically correct TH cells for TD. HTML email has no standard.