Urgent.News

What's breaking now, across thousands of outlets.

Tech

The CSS Zen Garden dream, finally shipped

In 2008, the CSS Zen Garden project introduced the concept of one HTML file being transformed into various styles using only CSS, showcasing a clean and reusable design approach. However, implementing this in real-world projects proved challenging due to the lack of modern CSS features like variables, Grid, and Flexbox. These tools, which were absent in 2008, have since become essential for creating designs that work consistently across browsers.

The CSS Zen Garden dream finally became a reality in production due to advancements in modern CSS, which now offer features that preprocessor tools and hacks once provided. During the rebuild of Firefox.com, a team collaboration between Mozilla and Lincoln Loop utilized modern CSS without relying on preprocessors. Custom properties were directly exported from design files, enabling the creation of a comprehensive design system with over 70 components and 25 page templates.

This system is implemented as Wagtail components, allowing the content team to assemble pages without engineering assistance. The site supports 19 different locales. While PostCSS was used in production for inlining @import statements, the majority of the CSS is still native and written without any build step. The source code is the same language that the browser understands, emphasizing the importance of a development process where the written code directly corresponds to the language the browser can interpret.

This achievement, made possible with the support of Mozilla, a leader in web standards, highlights the significance of a robust design system. Collaborating with experts such as Nicole Sullivan, Rachel Andrew, Jen Simmons, Chris Coyier, Kasey Kelly, Eric Meyer, and others has shaped the author's perspective on CSS as a system. The value of a system that enables teams to move quickly while maintaining consistency lies at the core of all the author's work, regardless of the specific tools employed.

Written by urgent.news from Hacker News's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at josprague.com →

More in Tech

[$] Adding BPF to blk-iocost

The scheduling of block I/O requests has long been a challenge for operating-system kernels. For many years, the performance characteristics of rotating drives meant that putting considerable…

One Table, Many Engines: Running BigQuery, Spark, and Trino on a Single Iceberg Copy

If you work with data — or you're just getting started in the cloud — you've probably heard terms like Data Warehouse, Data Lake, and Data Lakehouse.

  • Google Cloud Storage houses raw data and metadata files
  • Parquet format compresses data column-wise for efficient querying
  • Apache Iceberg adds ACID transactions, time travel, and schema evolution

I'm 12. I ran a global Code Jam on a $150 phone. Here’s the Supabase architecture that held it together. 🐯

Two weeks ago, I had zero submissions for my coding festival. Yesterday, I crowned the first Champion of the KODA Code Jam, upgraded their database status, and launched a second Jam (Scribe Jam), all…

  • 12-year-old organized global Code Jam with 3,000+ developers
  • Utilized Supabase for user auth, RLS, and telemetry tracking
  • Added modelserved column to errorlogs for performance tracking

More from Tuesday 15 September →