CSS-only floating focus with anchor positioning | Polypane
The Track focus debug tool in Polypane shows a floating outline that follows the keyboard focus around the page. This makes it easier to keep track of where the…
Non-blocking cross-browser image rendering on the canvas
Canvas-based rendering has become a prominent tool for building complex web UI interfaces. When working with large images on canvas, one critical challenge stands out: keeping the main thread responsive during image decoding.
Unfortunately there’s no universal way to decode an image for canvas' dra
NoLoJS: Reducing the JS Workload with HTML and CSS
With web performance, less is typically more: When possible, send less data, make the browser do less. Here are several examples where you can replace common JS patterns with HTML and CSS.
I recently came across this CodePen demo by Vivi Tseng, which creates the blur extension effect by placing a square div with a blur() beneath the img element and I couldn’t help but think a simpler solution should be possible with a single img element and minimal CSS. So let’s first take a look at […]
Modern Scroll Shadows Using Scroll-Driven Animations | CSS-Tricks
Using scroll shadows, especially for mobile devices, is a subtle bit of UX that Chris has covered before. Geoff covered a newer approach that uses the animation-timeline property. Here’s yet another way.
The Intervention Programme in the scope of Violence in Interpersonal Relations (PREVINT™) aims to raise awareness among adolescents and adults of contexts of violence in interpersonal relations. It uses a visual mediator divided into three spectra, with 10 levels each, designated as “Violentometer”, where the intensity of violence increases.
Keyframes Tokens: Standardizing Animation Across Projects — Smashing Magazine
Animations can be one of the most joyful parts of building interfaces, but without structure, they can also become one of the biggest sources of frustration. By consolidating and standardizing keyframes, you take something that is usually messy and hard to manage and turn it into a clear, predictable system.
Prose components are perhaps one of the best features of Nuxt Content! This article provides an overview on prose components, exploring their use cases and a bunch of different things you can do with them.
A table that can be sorted differently by clicking the header, improved with animations via same-document view transitions. Explained here: https://pi...