04:07Create a navigation blob that tracks your mouse with CSS-only with anchor positioning
From the creator
✅ Final code: https://codepen.io/kevinpowell/pen/vENZzBd ✅ More info on corner shape: https://frontendmasters.com/blog/understanding-css-corner-shape-and-the-power-of-the-superellipse/ ✅ Odd Bird’s article on fixing issues with anchor positioning: https://www.oddbird.net/2025/01/29/anchor-position-validity/ ✅ Easing Wizard: https://easingwizard.com/ ✅ Anchor position polyfill: https://github.com/oddbird/css-anchor-positioning ✅ I’ve got courses! https://kevinpowell.co/courses ✉ Keep up to date with everything I'm up to https://www.kevinpowell.co/newsletter 💬 Come hang out with other devs in my Discord Community https://discord.gg/nTYCvrK ⭐ Are you a beginner? HTML & CSS for absolute beginners is for you: https://learn.kevinpowell.co 🎓 Start writing CSS with confidence with CSS Demystified: [https://cssdemystified.com](https://cssdemystified.com/) 🚀 Already mastered CSS? Check out my advanced course, Beyond CSS: https://www.beyondcss.dev/ ⌚ Timestamps 00:00 - Introduction 00:37 - Basic setup 02:18 - Adding the pseudo-element for the “bubble” 03:30 - My first failed attempt at using anchor positioning 08:12 - How you can animate the anchor position between elements 10:20 - Be careful with position relative and anchor positioning 13:40 - Using calc() with anchor() 16:50 - Fixing the stacking of elements 17:45 - Improving the animation and shapes 20:16 - The cutout effect #css --- Help support my channel 👨🎓 Get a course: https://www.kevinpowell.co/courses 👕 Buy a shirt: ht
Published 2025-08-20 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.
Keep exploring Learn to Code
04:07
11:04"Anti-Slop" Designs with Impeccable (a Crash Course) #5 - Enable Image Generation
Net Ninja
2:25:40
42:55Java Graphics Programming Tutorial - How To Draw Shapes, Paths, Curves, and Apply Transformations
choobtorials
08:10
18:31
7:09:47