最新文章

今日新增 422 篇 · 共 7,393 篇 · 来自 241 个博客

Svelte Blog·

What’s the deal with SvelteKit?

AI 摘要The article announces SvelteKit, the successor to Sapper, explaining that rather than releasing Sapper 1.0, the Svelte team is rewriting and rebranding the app framework to simplify onboarding and modernize its foundational assumptions. SvelteKit embraces an unbundled development workflow powered by Snowpack for near-instant startup and hot module reloading, and fully supports serverless deployment platforms via an adapter API, while still using Rollup for production builds and allowing fully static or Node-based apps. A public beta is expected within weeks, with full TypeScript support at launch, straightforward migration from Sapper, and the guarantee that Svelte can still be used standalone or with third-party frameworks.

Josh W. Comeau··Josh W. Comeau

Chasing the Pixel-Perfect Dream

Is it possible to create an implementation of a design that matches to-the-pixel? Well, not really, but that shouldn't discourage us! In this article, I'll show how I became designers' best friend by leveraging a series of tricks to get my

Svelte Blog·

What’s new in Svelte: November 2020

AI 摘要This November 2020 Svelte update covers new features and bug fixes such as Promise destructuring with {#await}, slot forwarding fixes, better TypeScript typings, and various Sapper improvements including new preload types and route layout fixes. The month's Svelte Summit featured Rich Harris demoing SvelteKit, a not-yet-public project promising a first-class developer experience, alongside talks from 17 speakers available on YouTube. The article also showcases community projects like Svelte Lab, Budibase, Interference 2020, and several other tools and sites built with Svelte.

Ethan Marcotte··Ethan Marcotte

My design systems reading list.

AI 摘要The author shares a curated reading list of favorite articles about design systems, compiled at a friend's request and published with their permission. The list is organized into rough categories—process, technical and architectural topics, operational concerns, and failure states—each with brief commentary explaining why the piece matters. The author acknowledges the list is a snapshot in time and closes by also recommending several foundational books on systems thinking.

Lil'Log·

How to Build an Open-Domain Question Answering System?

AI 摘要This post reviews several common approaches for building an open-domain question answering system, i.e., a model capable of answering factual questions with practical applications like chatbots and AI assistants. It was updated in November 2020 to include an example of closed-book factual QA using the OpenAI API (beta).

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 摘要The 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.

Kalzumeus··Patrick McKenzie (patio11)

What Working At Stripe Has Been Like

I joined Stripe to work on building financial infrastructure for the Internet. Time flies. Here is what I've learned in the first four years.

Tailwind CSS Blog·

Introducing Tailwind Play

Tailwind Play is an advanced online playground for Tailwind CSS that lets you use all of Tailwind's build-time features directly in the browser.