







We can animate an element along the border edge of another element to random positions... pretty easily? Might as well be a cute dog.
Let’s Use the Emergent CSS random() Function in all the Browsers | CSS-Tricks
The journey to create a polyfill for the upcoming CSS random() function that works in all browsers.

Random Picker Tool - Let Fate Decide
Add items to a list and use this random picker to make decisions. Fast, simple, and fun way to choose between options with animated selection.

Native-Like Animations for Page Transitions on the Web | CSS-Tricks
Some of the most inspiring examples I’ve seen of front-end development have involved some sort of page transitions that look slick like they do in mobile

Whimsical Animations
Learn how to create charming interactions and delightful touches using the magic of CSS, JavaScript, SVG, and Canvas. I’m sharing all my tricks in this one!

Animating CSS Grid Layouts with CSS Anchor Positioning
At CSS Day (back in June), someone asked me how Brave (the browser) might have built their New Tab Page which features some tiles laid out in a grid. While the grid is nothing spectacular, something special happens with it when you resize the viewport: as the available space changes, the grid nicely reorganizes itself in an animated way. The animations are also interruptible, so no View Transitions seem to be at play.So, how did they do it? I’m not sure. But if I were to recreate it, I’d use CSS Anchor Positioning with regular CSS Transitions on top.

Room-based maps
There are a couple of different ways to go about creating room-based maps. We'll look at doing this by generating random rectangles, by using random BSP trees and Waveform Function Collapse (WFC).
Animations for an AI agent using SVG and Svelte
It uses SVG filters to add some subtle "gooey" effect when transitioning between states. Check out the Svelte playground
CSS by T. Afif (@css-only.dev)
More range sliders with fancy shapes? Let's go! This time with a tooltip showing the value. curve, wave, zig-zag, arc ... Which one do you prefer? css-tip.com/shaped-range... 0% JavaScript and 100% CSS magic (border-shape, shape(), scroll-driven animations, and more!)
HTML Can Do That
HTML has been gobbling up swathes of what used to be JavaScript’s remit. This page lists a bunch of dynamic functionality that we can now achieve with just HTML.
HTML Can Do That
HTML has been gobbling up swathes of what used to be JavaScript’s remit. This page lists a bunch of dynamic functionality that we can now achieve with just HTML.
AutoAnimate - Add motion to your apps with a single line of code
A zero-config, drop-in animation utility that automatically adds smooth transitions to your web app. Use it with React, Solid, Vue, Svelte, or any other JavaScript application.

Let’s Play With Gap Decorations!
The `rule` (and friends) CSS property allows us to draw markers (like borders) in the gaps between columns and rows (and flex items!)
CSS Anchor Positioning Guide | CSS-Tricks
Learn about CSS Anchor Positioning, including its syntax, properties, how it is used to position one element next to another, and even how it's used to resize elements relative to other elements.

World Emulation via Neural Network
I turned a forest trail near my apartment into a playable neural world. You can explore that world in your web browser by clicking right here:
Generative Art with Node.js and Canvas
This post explores a small weekend project that combines Node.js and HTML5 Canvas to create high-resolution generative artwork. In the browser, the artwork renders in real-time. Tap the canvas below to randomize the seed. <a...

Anchor positioning makes this type of effect feel almost too easy to make now. If you want the long-form where I break it down in more detail, you can find it here: youtu.be/8_NQ7ARXz8c