← Back to all articles

Josh W. Comeau

Creator of CSS for JavaScript Developers. Former engineer at Gatsby. Writes interactive tutorials on CSS and React.

https://www.joshwcomeau.com

Articles

Sprites on the Web

In game development, it’s common to use spritesheets for animation, but this technique isn’t as widely used on the web. Which is a shame, because we can do some pretty cool stuff with sprites! In this

Springs and Bounces in Native CSS

CSS's linear() function enables physics-based animations natively, but has quirks. This post shares tips for using it effectively.

The Big Gotcha With @starting-style

@starting-style enables CSS transitions for enter animations, a capability previously only possible with keyframes, but its practical value is questionable.

Color Shifting in CSS

Browsers have limitations when animating colors through the rainbow. This tutorial explores the issue and shares workarounds for cycling background colors in CSS.

An Interactive Guide to SVG Paths

Learn how SVG paths work through this tutorial that demystifies the powerful but complex <path> element and its compact syntax.