News
Pretext Does What CSS Can't — Measuring Text Before the DOM Even Exists
Pretext is a new JS/TS library from Cheng Lou (React core, react-motion, Midjourney) that calculates multiline text height without...
CSS is Only Hard Because You’re Doing Too Much
Start with markup, not styles. Write only the CSS you actually need. Design for mobile first, not as a fix later. Let layouts adap...
Build Native-Like Bottom Sheets with CSS Scroll Snap
With modern web features like CSS scroll snap, it is now possible to create native-like bottom sheets featuring multiple snap poin...
How to Build a File Uploader Tool with Drag-and-Drop and Cloud Storage
Users today expect more from file uploader tools. They want drag-and-drop uploads, real-time progress tracking, and cloud storage...
Design Hacks from the Pre-CSS Era
In the early days of the web, HTML wasn’t built for layout. CSS was either brand-new or barely supported. Positioning was unreliab...
We Keep Reinventing CSS, but Was Styling Really the Problem?
We keep reinventing CSS as if it’s the root cause of styling pain, but it isn’t, says Den Odell. We’ve spent years bolting on stra...
