New

The latest blog posts to take off on Hacker News. 2,346 posts.

Design & UX
Any year
190

1300 Still Images from the Animated Films of Hayao Miyazaki's Studio Ghibli (2023)

「君たちはどう生きるか」の場面写真を提供致します。 現在、劇場公開中の「君たちはどう生きるか」の場面写真 14枚を、本日から提供いたします。 これまでの分と同様に、常識の範囲でご自由にお使いください。 君たちはどう生きるか14枚 2023.08.04 提供開始 2020.12.18 提供開

191

An SVG is all you need

SVGs are pretty cool - vector graphics in a simple XML format. They are supported on just about every device and platform, are crisp on every display, and can have embedded scripts in to make them interactive. They're way more capable than many people realise, and I think we can capitalise on some of that unrealised…

197

New layouts with CSS Subgrid

Subgrid allows us to extend a grid template down through the DOM tree, so that deeply-nested elements can participate in the same grid layout. At first glance, I thought this would be a helpful convenience, but it turns out that it’s so much more. Subgrid unlocks exciting new layout possibilities, stuff we couldn’t do…

202

Monotype font licencing shake-down

tl;dr Don’t try to shake-down a typography nerd with your dubious, automated claims about his employer using unlicensed fonts. How it started It started with a LinkedIn InMail message (sanitised to protect privacy): Subject: [Urgent] Font Software Licensing Review Hi Ameel I hope you

207

Just use a button

One of the weirdest “debates” I seem to perpetually have with framework-enthusiastic developers is whether or not a <div> is “just as good” as a <button>. Spoiler: it’s not. Let’s dig in. The problem Among the React crowd, and also among people who seem to enjoy HTMX, I see a lot this… <div onclick="showSignIn()">…

210

Springs and bounces in native CSS

The “linear()” timing function is a game-changer; it allows us to model physics-based motion right in vanilla CSS! That said, there are some limitations and quirks to be aware of. I’ve been experimenting with this API for a while now, and in this post, I’ll share all of the tips and tricks I’ve learned for using it…