Programming · Latest articles

29 new today · 2,698 articles · from 79 blogs

Josh W. Comeau··Josh W. Comeau

Hands-Free Coding

Earlier this year, I lost the ability to use a keyboard and mouse for extended periods. Fortunately, this wasn't as catastrophic as it sounds! This article chronicles my experience using adaptive tools like dictation and eye-tracking as my

Tailwind CSS Blog·

Tailwind CSS v1.9.0

We just released Tailwind CSS v1.9 which adds support for configuration presets, useful new CSS grid utilities, extended border radius, rotate, and skew scales, helpful accessibility improvements, and more!

Lea Verou··Lea Verou

The -​-var: ; hack to toggle multiple values with one custom property

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.

Tailwind CSS Blog·

Headless UI: Unstyled, Accessible UI Components

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

Elixir Blog··José Valim

Elixir v1.11 released

Elixir v1.11 is out with improvements to the compiler and tighter integration with Erlang/OTP.

Josh W. Comeau··Josh W. Comeau

Full-Bleed Layout Using CSS Grid

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.

Svelte Blog·

What’s new in Svelte: October 2020

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.

Without Boats·

Ringbahn III: A deeper dive into drivers

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

Without Boats·

Revisiting a 'smaller Rust'

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.

Lea Verou··Lea Verou

The failed promise of Web Components

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.

Without Boats·

iou version 0.3 released

AI summaryThe author announced the release of iou version 0.3, a library providing idiomatic Rust bindings to liburing, which enables use of Linux's io-uring asynchronous IO interface. This release significantly expands the API, brings valuable improvements, and includes some breaking changes. The blog post serves as basic release notes for the update.