The Height Enigma — A beginner-friendly no nonsense unraveling of the ‘mysterious’ behavior of percentage-based heights in CSS: “Like with so much in CSS, it feels random until you learn about the underlying mechanisms that explain the behaviour, and then it all makes perfect sense”. A great, visualized explainer.
Josh W. Comeau
|
New Course: Next.js Fundamentals, v4 — Master Next.js with Scott Moss. Learn React Server Components, Server Actions, dynamic routing, authentication, caching, and edge functions. Create a modern React app, deploy it to Vercel, and level up your skills.
Frontend Masters sponsor
|
😵💫 Figma's AI-powered website-creation tool
Figma recently announced 'Figma Sites', a way to let you quickly publish your Figma designs directly to the web — but the response from frontend developers has been, rather mixed, with many comparisons to the bloated outputs of the likes of Dreamweaver and Microsoft Frontpage. Although still in beta, there's been some criticism lodged at the div-heavy code it's producing.
|
|
📙 Articles, Opinions & Tutorials
|
How to Have the Browser Pick a Contrasting Color in CSS — Jen shares how the upcoming contrast-color() function should help with accessibility. It’s all in flux right now, but the takeaway being we should be able to declare a color in CSS and then have the browser figure out what should be paired with it — neat.
Jen Simmons (WebKit)
|
Integrating Localization Into Design Systems — A case study that looks at how two designers tackled the challenges of building a localization-ready design system for a global audience, taking into consideration things such as text overflow, RTL layouts, font inconsistencies, and more.
Rebecca Hemstad & Mark Malek
|
It Wasn’t the Idea That Failed: It Was the Execution — A look back at the WYSIWYG history of visual web development tools, from Visual Basic and FrontPage in the 90s to modern tools like the aforementioned Figma Sites. It argues that these tools often fail because they produce poor HTML markup, hindering accessibility and developer control. It then positions Nordcraft as an alternative, and yes it’s on the Nordcraft blog.
Salma Alam-Naylor
|
Creating Flower Shapes using clip-path: shape() — Here's a detailed look at the what can be achieved when using the arc command. Plenty of code examples to help explain what's going on. Geometry, radius, and math problems a plenty here.
Temani Afif
|
🧰 Tools, Code & Resources
|
Introducing Clerk Billing — Set up subscriptions in your B2B or B2C app without writing custom payment code or building your own UI.
Clerk sponsor
|
Basecoat: shadcn/ui 's Magic, But Minus React — shadcn/ui is a popular suite of well designed React components, but if you’ve wanted to use them in other contexts too, Basecoat is for you. Basecoat ports the components to a more vanilla form you can use elsewhere.
Ronan Berder
|
Why We Are Still Using 88x31 Buttons — You don't really see them anywhere near as much as you used to, but as a little image format they sure are cool and bring about a certain unique restrained creativity. This post, from last year, runs through how the specific size came to be, and how it endured.
Brian (Ultrasciencelabs)
|
|