AI summaryThe article explains the CSS 'space toggle hack,' where setting a custom property to whitespace (`--foo: ;`) or the `initial` value can conditionally append or remove values across multiple properties and rules via a single `var()` with a fallback. This effectively emulates an if() function using one custom property, demonstrated by toggling a flat button into a skeuomorphic one with a single `--is-raised` variable. The author notes limitations—such as only appending values rather than true conditionals and poor readability—while mentioning that prior art exists (Ana Tudor, James0x57) and a native `if()` function is being discussed by the CSS Working Group.
Headless UI is a set of completely unstyled, fully accessible UI components for React, Vue, and Alpine.js that make it easy to build fully accessible custom UI components, without sacrificing the ability to style them from scratch with simp
Certain layouts are surprisingly dastardly. On the modern web, one of the most common layouts is also one of the trickiest. In this tutorial, I break down how to build the "full-bleed" layout using CSS Grid. Keep reading.
AI summaryThe author recounts a long but rewarding day that began before dawn with a 5:30am virtual talk, 'On the design systems between us,' delivered for the SydCSS community's seventh birthday meetup, which he praises for its warmth, creativity, and strong community spirit. He credits collaborators like Alla Kholmatova, Mark Boulton, Robin Rendle, and Liz for helping shape his talk on the limitations of current design system practices. Later that morning, he joined a fun hour-long webinar with Knapsack and his Autogram partner Jeff Eaton, reflecting that discussions about the future of design systems are filled with thoughtful people asking interesting questions.
AI summaryThis first edition of the monthly 'What's new in Svelte' series highlights new features such as the {#key} block, slot forwarding through child components, TypeScript support for createEventDispatcher, and various CSS and syntax improvements. It also covers the Sapper 0.28.9 release with improved CSP nonce and CSS handling, announces the upcoming Svelte Summit on October 18, and showcases community projects, plug-and-play components, and learning resources.
In the previous post in this series, I wrote about how the core state machine of ringbahn is implemented. In this post I want to talk about another central concept in ringbahn: “drivers”, external libraries which determine how ringbahn sche
AI summaryThis article is a satirical transcript of the first 2020 Trump-Biden presidential debate, moderated by Chris Wallace, covering topics such as the Supreme Court nomination, healthcare, COVID-19, taxes, race, and climate change. It depicts the candidates trading crude insults and chaotic exchanges, with Trump repeatedly interrupting Wallace and mocking Biden and his family. The piece ends with the debate descending into absurdity, leaving Wallace visibly exasperated and threatening to put Trump in a timeout.
AI summaryThe author reflects on a concept proposed a year ago: a 'smaller Rust,' a higher-level language that borrows Rust's type system innovations but is simpler due to targeting domains with less stringent performance and control requirements. While unemployed this year, the author sketched out this language in more detail and now shares the new conclusions reached during that work.
AI summaryThe author argues that remote conference talks deserve the same speaking fee as in-person talks, since the labor involved—writing and delivering the talk—hasn't changed, even though travel expenses no longer apply. He notes that prerecorded talks can require even more work due to takes and video editing, so they may justify a higher fee. While sympathetic to organizers facing budget shortfalls during the pandemic, he has kept his fee the same and suggests others consider doing so as well.
AI summaryMany people try to replicate Y Combinator's success in other industries or places, but almost none succeed because they can't figure out how to get it off the ground—the real secret was Paul Graham and Jessica Livingston themselves. Their approach involved taking bets on unknown people, believing in them more than anyone else had, setting strong norms, trusting their own convictions, and building a non-greedy ecosystem that left money on the table for everyone around YC. The author concludes that no one has had a bigger total impact on startup industry careers over the past 15 years than these two.
AI summaryThe author argues that Web Components failed to fulfill their promise of making HTML more powerful and accessible to non-programmers, as the ecosystem became dominated by JS framework developers whose components require complex dependencies, build processes, and JavaScript to use, rather than following native HTML conventions. Using examples like Google's e-shop demo, the author criticizes how HTML is treated as a mere DOM marker, excluding the many people who know HTML but not JS. The article proposes creating a curated directory of plug-and-play, dependency-free, accessible components that follow built-in HTML element conventions, and invites others to collaborate on the effort.