Create a navigation blob that tracks your mouse with CSS-only

Kevin Powell
Kevin Powell Media Inc.
Creative Coding CSS
August 20, 2025

This tutorial covers creating animated “bubble” effects using pseudo-elements and anchor positioning, including how to animate anchor positions between elements while avoiding common pitfalls with relative positioning and utilizing calc() with anchor() functions.