Loading styles on the web is something that looks trivial at first.
You just add a link rel=stylesheet to your page (or style for inline styles) and you're done.
But if you wanted to load CSS fast, all of the sudden you run into trouble...
Assuming you have a traditional web app (o
Miguel had been battling an annoying blinking with his view transitions and found the root cause. He’s sharing his learning in this article so you don’t fall into the same trap!
Explore 50 engaging CSS scroll effects to enhance your website's interactivity. Discover parallax, sticky, and fade animations for captivating user experiences.
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.