

My image model could already write alt text
Writing alt text in two languages was the slowest part of making my covers. The image model's text encoder could already do it on my PC, as long as I check every answer.
25 posts with this tag.


Writing alt text in two languages was the slowest part of making my covers. The image model's text encoder could already do it on my PC, as long as I check every answer.


My first AI covers looked like toys and said very little. How I went from five styles to one, with a calmer background, machines that explain the post, and titles you can read on a small card.


24 of my posts had no cover, so I spent a day testing Krea 2 on my own PC. What each prompt change and LoRA did, where the memory went, and the two components I built to compare the images.


Full screen on a big monitor, my pages were a narrow strip. Wider pages, a reading column that keeps 80 characters a line but grows, a text size control that's restored before the first paint, and one font fewer.


My 404 page now picks one of four toys at random, Breakout, Snake, an ASCII wave and loose dots, all made of the 404 itself. How it works on GitHub Pages, and why the game rules have no canvas in them.


My light theme was the dark one with the lights on. The first fix was too loud; comparing three directions with screenshots found the right one, ink green on warm white, and a test makes sure the grid never takes text below 4.5:1.


My footer now opens a panel about me and how to hire me, with a top card that changes look every time: a terminal, a spotlight, a business card, an open-to-work card and an ID card in 3D. How each one works, and how to keep five effects calm.


My site's background is a blueprint grid that lights up around the mouse. It looked great and read badly. How I found every piece of text sitting on it, and the one rule that fixed them all.


My blog page opened with a wall of 55 tag links. Now it's a sidebar of coloured chips, most used first, that fades out into a button, and what fades out is really gone for the keyboard too.


My site now has six colour themes, from Tokyo Night to Solarized. Each is one CSS file, no component changed, and a unit test checks every theme's contrast.


GitHub and Obsidian both draw "> [!note]" as a callout box. A small rehype plugin makes my site draw it too, and it's still a plain blockquote anywhere else.


Short screen recordings next to a post: why not a GIF, how the build finds the files, and the attributes that keep a video from jumping or autoplaying.


Two rehype plugins give every heading in my posts an id and a link to itself. Why I wrap the heading instead of adding a "#" link, and how SvelteKit fails the build on a broken one.


How one cover.png next to a post becomes a card thumbnail, the post's hero, and its link preview, with the right sizes, the right alt text and one clickable card.


My background grid lights up around the mouse. Where it ran under text, the text dropped to 1.89:1. How I measured a translucent layer, and how I picked the strongest effect that still passes.


A breadcrumb trail from data the routes already have, and the bug I found on the way. My nav's current-page marker was never in the prerendered HTML, because resolve() writes relative links while prerendering.


A collapsible section that works without JS, opens by itself as you scroll, respects what you chose, and doesn't hide its content from find in page.


My about page now filters skills by the kind of job I'm applying for. One choice at a time means radio buttons, and :has() lets me style them without giving up what the browser does for free.


The browser already knows when a field is required, isn't an email or doesn't match a pattern. I only had to decide when to say so, and in which words.


Give several <details> elements the same name, and opening one closes the others. My CV builder's form folds away with it, with one catch about focus.


One prerendered page per tag, a list of tags built from the posts, and a build that fails on a bad tag.


A $state class for an Awesome list's filters, $derived results, and a URL you can share, on a page that's prerendered.


Reading CSS custom properties in the browser, turning any CSS color into sRGB with a canvas, and the light-dark() surprise along the way.


Animations that follow the scroll instead of the clock, in pure CSS. A header that lifts into a floating bar, a footer that slides in, and a hint that there's more below, all with a fallback for older browsers and reduced motion.


Why my hero component doesn't animate itself, how the page passes it animations as CSS props, and a reduced-motion safety net that actually covers delays.