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.
CSS in practice: four ways to center things and BEM naming, a dark theme injected into an Electron app, and certificates that print as well as they render.
3 posts tagged with “CSS”
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.
Bootstrap made the certificate responsive in minutes; printing it took much longer. Why DOMPDF, TCPDF and jsPDF fell short, and how media queries fixed it.